Efficient d-ary Cuckoo Hashing at High Load Factors by Bubbling Up
William Kuszmaul, Michael Mitzenmacher
Abstract
A d-ary cuckoo hash table is an open-addressed hash table that stores each key x in one of d random positions h 1 (x), h 2 (x), . . . , h d (x). In the offline setting, where all items are given and keys need only be matched to locations, it is possible to support a load factor of 1 -ǫ while using d = ⌈ln ǫ -1 + o(1)⌉ hashes. The online setting, where keys are moved as new keys arrive sequentially, has the additional challenge of the time to insert new keys, and it has not been known whether one can use d = O(ln ǫ -1 ) hashes to support poly(ǫ -1 ) expected-time insertions.
In this paper, we introduce bubble-up cuckoo hashing, an implementation of d-ary cuckoo hashing that achieves all of the following properties simultaneously:
• uses d = ⌈ln ǫ -1 + α⌉ hash locations per item for an arbitrarily small positive constant α.
• achieves expected insertion time O(δ -1 ) for any insertion taking place at load factor 1 -δ ≤ 1 -ǫ.
• achieves expected positive query time O(1), independent of d and ǫ. The first two properties give an essentially optimal value of d without compromising insertion time. The third property is interesting even in the offline setting: it says that, even though negative queries must take time d, positive queries can actually be implemented in O(1) expected time, even when d is large.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- O(1) Insertion for Random Walk d-ary Cuckoo Hashing up to the Load ThresholdTolson Bell, Alan M. FriezeFOCS 2024 · 5 citations
- Optimal Non-oblivious Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouSTOC 2025 · 1 citation
Builds on1
Related papers
- Tight Bounds for Classical Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouFOCS 2024 · 2 citations
- DyCuckoo: Dynamic Hash Tables on GPUsYuchen Li, Qiwei Zhu, Zheng Lyu, Zhongdong Huang et al.ICDE 2021 · 28 citations
- Greedy Open Addressing Revisited: Beyond Yao's Lower BoundMartín Farach-Colton, Andrew Krapivin, William KuszmaulSTOC 2026 · 2 citations
- On the optimal time/space tradeoff for hash tablesMichael A. Bender, Martin Farach-Colton, John Kuszmaul, William Kuszmaul et al.STOC 2022 · 20 citations
- Cuckoo Hashing in Cryptography: Optimal Parameters, Robustness and ApplicationsKevin YeoCRYPTO 2023 · 15 citations
