Optimal Non-oblivious Open Addressing
Michael A. Bender, William Kuszmaul, Renfei Zhou
Abstract
A hash table is said to be open-addressed (or non-obliviously open-addressed) if it stores elements (and free slots) in an array with no additional metadata. Intuitively, open-addressed hash tables must incur a space-time tradeoff: The higher the load factor at which the hash table operates, the longer insertions/deletions/queries should take. In this paper, we show that no such tradeoff exists: It is possible to construct an open-addressed hash table that supports constant-time operations even when the hash table is entirely full. In fact, it is even possible to construct a version of this data structure that: (1) is dynamically resized so that the number of slots in memory that it uses, at any given moment, is the same as the number of elements it contains; (2) supports O(1)-time operations, not just in expectation, but with high probability; and (3) requires external access to just O(1) hash functions that are each just O(1)-wise independent. Our results complement a recent lower bound by Bender, Kuszmaul, and Zhou showing that oblivious open-addressed hash tables must incur Ω(loglogε−1)-time operations. The hash tables in this paper are non-oblivious, which is why they are able to bypass the previous lower bound.
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 papers1
Ask how each one uses itBuilds on9
- Tight Cell-Probe Lower Bounds for Dynamic Succinct DictionariesTianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouFOCS 2023 · 11 citations
- Linear Probing Revisited: Tombstones Mark the Demise of Primary ClusteringMichael A. Bender, Bradley C. Kuszmaul, William KuszmaulFOCS 2021 · 11 citations
- A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random BitsWilliam KuszmaulFOCS 2022 · 7 citations
- Strongly History-Independent Storage Allocation: New Upper and Lower BoundsWilliam KuszmaulFOCS 2023 · 7 citations
- Dynamic Dictionary with Subconstant Wasted Bits per KeyTianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouSODA 2024 · 5 citations
Related papers
- Tight Bounds for Classical Open AddressingMichael A. Bender, William Kuszmaul, Renfei ZhouFOCS 2024 · 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
- Greedy Open Addressing Revisited: Beyond Yao's Lower BoundMartín Farach-Colton, Andrew Krapivin, William KuszmaulSTOC 2026 · 2 citations
- Optimal Bounds for Open Addressing Without ReorderingMartín Farach-Colton, Andrew Krapivin, William KuszmaulFOCS 2024 · 3 citations
- Efficient d-ary Cuckoo Hashing at High Load Factors by Bubbling UpWilliam Kuszmaul, Michael MitzenmacherSODA 2025 · 2 citations
