English

Explicit and Efficient Hash Families Suffice for Cuckoo Hashing with a Stash

Data Structures and Algorithms 2012-04-20 v1

Abstract

It is shown that for cuckoo hashing with a stash as proposed by Kirsch, Mitzenmacher, and Wieder (2008) families of very simple hash functions can be used, maintaining the favorable performance guarantees: with stash size ss the probability of a rehash is O(1/ns+1)O(1/n^{s+1}), and the evaluation time is O(s)O(s). Instead of the full randomness needed for the analysis of Kirsch et al. and of Kutzelnigg (2010) (resp. Θ(logn)\Theta(\log n)-wise independence for standard cuckoo hashing) the new approach even works with 2-wise independent hash families as building blocks. Both construction and analysis build upon the work of Dietzfelbinger and Woelfel (2003). The analysis, which can also be applied to the fully random case, utilizes a graph counting argument and is much simpler than previous proofs. As a byproduct, an algorithm for simulating uniform hashing is obtained. While it requires about twice as much space as the most space efficient solutions, it is attractive because of its simple and direct structure.

Keywords

Cite

@article{arxiv.1204.4431,
  title  = {Explicit and Efficient Hash Families Suffice for Cuckoo Hashing with a Stash},
  author = {Martin Aumüller and Martin Dietzfelbinger and Philipp Woelfel},
  journal= {arXiv preprint arXiv:1204.4431},
  year   = {2012}
}

Comments

18 Pages