AN ANALYSIS OF RANDOM-WALK CUCKOO HASHING

被引:17
|
作者
Frieze, Alan [1 ]
Melsted, Pall [1 ]
Mitzenmacher, Michael [2 ]
机构
[1] Carnegie Mellon Univ, Dept Math Sci, Pittsburgh, PA 15213 USA
[2] Harvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
关键词
hashing; random walk; cuckoo;
D O I
10.1137/090770928
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we provide a polylogarithmic bound that holds with high probability on the insertion time for cuckoo hashing under the random-walk insertion method. Cuckoo hashing provides a useful methodology for building practical, high-performance hash tables. The essential idea of cuckoo hashing is to combine the power of schemes that allow multiple hash locations for an item with the power to dynamically change the location of an item among its possible locations. Previous work on the case where the number of choices is larger than two has analyzed breadth-first search, which is both inefficient in practice and currently has only a polynomial upper bound on the insertion time that holds with high probability. On the other hand, it does have expected constant amortized insertion time. Here we significantly advance the state of the art by proving a polylogarithmic bound that holds with high probability on the more efficient random-walk method, where items repeatedly kick out random blocking items until a free location for an item is found.
引用
收藏
页码:291 / 308
页数:18
相关论文
共 50 条