Array which Pages to Disk

前端 未结 3 795
我寻月下人不归
我寻月下人不归 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:49

    I haven't come across anything like that, but I guess that's because it's rarely needed. After all, a database table (in SQL Server or any other database) is in essence a disk-based array.

    You could write an IList<> wrapper around a database table. Throw in some caching and you have a perfect disk-based array.

提交回复
热议问题