Lune

FOCS2024Top-tier venue

Tight Bounds for Classical Open Addressing

Michael A. Bender, William Kuszmaul, Renfei Zhou

2024Year
2Citations
1Top-tier citations

Abstract

We introduce a classical open-addressed hash table, called rainbow hashing, that supports a load factor of up to 1−ε-\varepsilon, while also supportingO(1)O(1)expected-time queries, andO(log⁡ log⁡ε−1)O\left({\log \,\log {\varepsilon ^{ - 1}}} \right)expected-time insertions and deletions. We further prove that this tradeoff curve is optimal: any classical open-addressed hash table that supports load factor1−ε1-\varepsilonmust incurΩ(log⁡ logε−1)\Omega \left({\log \,log{\varepsilon ^{ - 1}}} \right)expected time per operation. Finally, we extend rainbow hashing to the setting where the hash table is dynamically resized over time. Surprisingly, the addition of dynamic resizing does not come at any time cost-even while maintaining a load factor of≥1−ε\geq 1-\varepsilonat all times, we can supportO(1)O(1)queries andO(log⁡ log⁡ε−1)O\left({\log \,\log {\varepsilon ^{ - 1}}} \right)updates. Prior to our work, achieving any time bounds of the formo(ε−1)o(\varepsilon^{-1})for all of insertions, deletions, and queries simultaneously remained an open Question.

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 092e3629-4a13-4290-b156-fa304ac58ee6

Cited by top-tier papers1

Ask how each one uses it

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines