A precise analysis of Cuckoo hashing
Authors:
Open Access
- 25 April 2012
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Algorithms
- Vol. 8 (2) , 1-36
Abstract
Cuckoo hashing was introduced by Pagh and Rodler in 2001. Its main feature is that it provides constant worst-case search time. The aim of this article is to present a precise average case analysis of Cuckoo hashing. In particular, we determine the probability that Cuckoo hashing produces no conflicts and give an upper bound for the construction time, that is linear in the size of the table. The analysis rests on a generating function approach to the so called Cuckoo Graph, a random bipartite graph, and an application of a double saddle point method to obtain asymptotic expansions. Furthermore, we provide some results concerning the structure of these kinds of random graphs. Our results extend the analysis of Devroye and Morin [2003]. Additionally, we provide numerical results confirming the mathematical analysis.Keywords
Funding Information
- Austrian Science Fund (S9604)
- Sixth Framework Programme (028875 (NEMO))
This publication has 24 references indexed in Scilit:
- Random Oxford graphsStochastic Processes and their Applications, 2005
- Cuckoo hashingJournal of Algorithms, 2004
- Cuckoo hashing: Further analysisInformation Processing Letters, 2003
- Marking in combinatorial constructions: Generating functions and limiting distributionsTheoretical Computer Science, 1995
- Some results on the asymptotic behaviour of coefficients of large powers of functionsDiscrete Mathematics, 1995
- A Bivariate Asymptotic Expansion of Coefficients of Powers of Generating FunctionsEuropean Journal of Combinatorics, 1994
- The birth of the giant componentRandom Structures & Algorithms, 1993
- The number of components of a random bipartite graphDiscrete Mathematics and Applications, 1991
- The number of trees with nodes of alternate parityMathematical Proceedings of the Cambridge Philosophical Society, 1962
- Saddle-point Methods for the Multinomial DistributionThe Annals of Mathematical Statistics, 1957