Array which Pages to Disk

前端 未结 3 794
我寻月下人不归
我寻月下人不归 2021-02-11 00:30

Does anyone know of a .NET array class/library which will page its contents out to disk?

The idea is to be able to use it as a normal array but the class uses less RAM

3条回答
  •  独厮守ぢ
    2021-02-11 00:40

    Unless you're dealing with fixed length records (and even then there's issues) you're going to run into a lot of problems with treating 2GB of data like an array that make a lot of array uses perform horribly -

    • IndexOf()
    • InsertAt()
    • RemoveAt()
    • Sort()

    Is there any reason a database wouldn't work?

提交回复
热议问题