Efficient d-ary Cuckoo Hashing at High Load Factors by Bubbling Up
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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
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
