Lune

STOC2025Top-tier venue

Optimal Static Dictionary with Worst-Case Constant Query Time

Yang Hu, Jingxun Liang, Huacheng Yu, Junkai Zhang, Renfei Zhou

Abstract

In this paper, we design a new succinct static dictionary with worst-case constant query time. A dictionary data structure stores a set of key-value pairs with distinct keys in [U ] and values in [σ], such that given a query x ∈ [U ], it quickly returns if x is one of the input keys, and if so, also returns its associated value. The textbook solution to dictionaries is hash tables. On the other hand, the (information-theoretical) optimal space to encode such a set of key-value pairs is only OPT := log U n + n log σ. We construct a dictionary that uses OPT + n ε bits of space, and answers queries in constant time in worst case. Previously, constant-time dictionaries are only known with OPT + n/ poly log n space [Pǎt08], or with OPT + n ε space but expected constant query time [Yu20]. We emphasize that most of the extra n ε bits are used to store • a lookup table that does not depend on the input, and • random bits for hash functions. The "main" data structure only occupies OPT + poly log n bits.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dynamic Dictionary with Subconstant Wasted Bits per Key cites Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries
  • Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries cites Dynamic Dictionary with Subconstant Wasted Bits per Key
  • Dynamic Dictionary with Subconstant Wasted Bits per Key cites On the optimal time/space tradeoff for hash tables
  • Static Retrieval Revisited: To Optimality and Beyond cites Nearly optimal static Las Vegas succinct dictionary
  • Static Retrieval Revisited: To Optimality and Beyond cites On the optimal time/space tradeoff for hash tables
  • Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries cites Nearly optimal static Las Vegas succinct dictionary
  • Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries cites On the optimal time/space tradeoff for hash tables
  • On the optimal time/space tradeoff for hash tables cites Nearly optimal static Las Vegas succinct dictionary
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Static Retrieval Revisited: To Optimality and BeyondYang Hu, William Kuszmaul, Jingxun Liang, Huacheng Yu et al.FOCS 2025 · 1 citation

Builds on5

  1. On the optimal time/space tradeoff for hash tablesMichael A. Bender, Martin Farach-Colton, John Kuszmaul, William Kuszmaul et al.STOC 2022 · 20 citations
  2. Tight Cell-Probe Lower Bounds for Dynamic Succinct DictionariesTianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouFOCS 2023 · 11 citations
  3. Lower bound for succinct range minimum queryMingmou Liu, Huacheng YuSTOC 2020 · 7 citations
  4. Nearly optimal static Las Vegas succinct dictionaryHuacheng YuSTOC 2020 · 6 citations
  5. Dynamic Dictionary with Subconstant Wasted Bits per KeyTianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouSODA 2024 · 5 citations

Related papers

  1. A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random BitsWilliam KuszmaulFOCS 2022 · 7 citations
  2. Succinct Dynamic Rank/Select: Bypassing the Tree-Structure BottleneckWilliam Kuszmaul, Jingxun Liang, Renfei ZhouSODA 2026 · 1 citation
  3. How to Store a Random WalkEmanuele Viola, Omri Weinstein, Huacheng YuSODA 2020 · 4 citations
  4. Compressing Dynamic Fully Indexable Dictionaries in Word-RAMGabriel Marques DominguesSTOC 2026 · 2 citations
  5. Tiny PointersMichael A. Bender, Alex Conway, Martin Farach-Colton, William Kuszmaul et al.SODA 2023 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines