我喜欢开发使用STL算法,但是,我有这个经常出现的问题在我的数据集过大堆。
I enjoy developing algorithms using the STL, however, I have this recurring problem where my data sets are too large for the heap.
我一直在寻找直接替代的STL容器和算法这是磁盘备份,即对存储在磁盘上,而不是堆的数据结构。
I have been searching for drop-in replacements for STL containers and algorithms which are disk-backed, i.e. the data structures on stored on disk rather than the heap.
一个朋友最近向我指出对 stxxl 。之前,我也参与了它...任何其他磁盘备份STL替换用,我应该考虑?
A friend recently pointed me towards stxxl. Before I get too involved with it... Are any other disk-backed STL replacements available that I should be considering?
注:我没有兴趣在持续性或嵌入式数据库。请不要提的boost ::系列化,POST ++,关系模板库,Berkeley DB的,SQLite的,等我知道这些项目,并使用他们时,他们是适合我的目的。
更新:有几个人提到的内存映射文件,并使用自定义分配器,好的建议顺便说一句,但我要指出他们讨论的
相关推荐
最新文章