Work

Efficient d -ary Cuckoo Hashing at High Load Factors by Bubbling Up

Year: 2025
Type: conference-paper
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 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 hash locations per item for an arbitrarily small positive constant a . • 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.
Language: English
Open Access status: green
OpenAlex ID: W4406155116
FWCI: 4.652
Cites: 36
Cited by: 11
Related to: 10