A locality-preserving cache-oblivious dynamic dictionary

被引:27
作者
Bender, MA
Duan, ZY [1 ]
Iacono, J
Wu, J
机构
[1] SUNY Stony Brook, Dept Comp Sci, Stony Brook, NY 11794 USA
[2] Polytech Univ, Dept Comp & Informat Sci, Metrotech Ctr 5, Brooklyn, NY 11201 USA
来源
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC | 2004年 / 53卷 / 02期
基金
美国国家科学基金会;
关键词
D O I
10.1016/j.jalgor.2004.04.014
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a simple dictionary structure designed for a hierarchical memory. The proposed data structure is cache-oblivious and locality-preserving. A cache-oblivious data structure has memory performance optimized for all levels of the memory hierarchy even though it has no memory-hierarchy- specific parameterization. A locality-preserving dictionary maintains elements of similar key values stored close together for fast access to ranges of data with consecutive keys. The data structure presented here is a simplification of the cache-oblivious B-tree of Bender, Demaine, and Farach-Colton. The structure supports search operations on N data items using O(log(B) N + 1) block transfers at a level of the memory hierarchy with block size B. Insertion and deletion operations use O(log(B) N + log(2) N/B + 1) amortized block transfers. Finally, the data structure returns all k data items in a given search range using O(log(B) N +k/B + 1) block transfers. This data structure was implemented and its performance was evaluated on a simulated memory hierarchy. This paper presents the results of this simulation for various combinations of block and memory sizes. (C) 2004 Elsevier Inc. All rights reserved.
引用
收藏
页码:115 / 136
页数:22
相关论文
共 60 条
[51]  
[No title captured]
[52]  
[No title captured]
[53]  
[No title captured]
[54]  
[No title captured]
[55]  
[No title captured]
[56]  
[No title captured]
[57]  
[No title captured]
[58]  
[No title captured]
[59]  
[No title captured]
[60]  
[No title captured]