Memory mapped - partially disk based algorithms

后端 未结 3 517
不思量自难忘°
不思量自难忘° 2021-02-03 12:46

Are there any good resources or books for spillable data structures, that is, say, a queue?

When storing large objects it could fill up all of memory, but if you can ke

3条回答
  •  天涯浪人
    2021-02-03 13:31

    There is the Buffer Tree (PDF, 0.6 MB):

    "... developed an efficient external priority queue and batched dynamic versions of the (one-dimensional) range tree and the segment tree."

    and

    "... allow us to design efficient external-memory algorithms from known internal algorithms in a straightforward way, such that all the I/O specific parts of the algorithms are hidden in the data structures."

    It is the mentioned as part of a broader treatment of the subject in the freely available online book "Algorithms and Data Structures for External Memory" by Jeffrey Scott Vitter (PDF, 1 MB).

提交回复
热议问题