2002 · 138 citations · 15 references
ComputingComputer EngineeringComputer ScienceAlgorithmsData StructuresTheory Of ComputationCache-oblivious Data StructuresCachingDynamic Data StructuresMemory HierarchyRange SearchingB-treesBinary Search TreesBinary TreesCache-oblivious SearchCache-oblivious Search TreesCache-oblivious TreesDynamic Tree Data StructuresSearches
We propose a version of cache oblivious search trees which is simpler than the previous proposal of Bender, Demaine and Farach-Colton and has the same complexity bounds. In particular, our data structure avoids the use of weight balanced B-trees, and can be implemented as just a single array of data elements, without the use of pointers. The structure also improves space utilization. For storing n elements, our proposal uses (1 + ε)n times the element size of memory, and performs searches in worst case O(log B n) memory transfers, updates in amortized O((log 2 n)/(εB)) memory transfers, and range queries in worst case O(log B n + k/B) memory transfers, where k is the size of the output. The basic idea of our data structure is to maintain a dynamic binary tree of height log n + O(1) using existing methods, embed this tree in a static binary tree, which in turn is embedded in an array in a cache oblivious fashion, using the van Emde Boas layout of Prokop. We also investigate the practicality of cache obliviousness in the area of search trees, by providing an empirical comparison of different methods for laying out a search tree in memory. 1
15
The input/output complexity of sorting and related problems
Alok Aggarwal · Communications of the ACM · 1988 · 1.2K citations · Full text
Matteo Frigo, Charles E. Leiserson, Harald Prokop et al. · 2003 · 807 citations
John W. Williams · Communications of the ACM · 1964 · 471 citations · Full text