O(1) Insertion for Random Walk d-ary Cuckoo Hashing up to the Load Threshold
Abstract
The random walk -ary cuckoo hashing algorithm was defined by Fotakis, Pagh, Sanders, and Spirakis to generalize and improve upon the standard cuckoo hashing algorithm of Pagh and Rodler. Random walk -ary cuckoo hashing has low space overhead, guaranteed fast access, and fast in practice insertion time. In this paper, we give a theoretical insertion time bound for this algorithm. More precisely, for every random hashes, let be the sharp threshold for the load factor at which a valid assignment of objects to a hash table of size exists with high probability. We show that for any hashes and load factor , the expectation of the random walk insertion time is , that is, a constant depending only on and but not .
Cite
@article{arxiv.2401.14394,
title = {O(1) Insertion for Random Walk d-ary Cuckoo Hashing up to the Load Threshold},
author = {Tolson Bell and Alan Frieze},
journal= {arXiv preprint arXiv:2401.14394},
year = {2025}
}
Comments
A preliminary version of this paper appeared in FOCS 2024. Paper updated to fix errors in the previous version and include the $d=3$ case. 31 pages