Lune

STOC2020Top-tier venue

Nearly optimal static Las Vegas succinct dictionary

Huacheng Yu

Abstract

Given a set S of n (distinct) keys from key space [U ], each associated with a value from Σ, the static dictionary problem asks to preprocess these (key, value) pairs into a data structure, supporting value-retrieval queries: for any given x ∈ [U ], valRet(x) must return the value associated with x if x ∈ S, or return ⊥ if x / ∈ S. The special case where |Σ| = 1 is called the membership problem. The "textbook" solution is to use a hash table, which occupies linear space and answers each query in constant time. On the other hand, the minimum possible space to encode all (key, value) pairs is only OPT := ⌈lg 2 U n + n lg 2 |Σ|⌉ bits, which could be much less. In this paper, we design a randomized dictionary data structure using OPT + poly lg n + O(lg lg lg lg lg U ) bits of space, and it has expected constant query time, assuming the query algorithm can access an external lookup table of size n 0.001 . The lookup table depends only on U , n and |Σ|, and not the input. Previously, even for membership queries and U ≤ n O(1) , the best known data structure with constant query time requires OPT + n/poly lg n bits of space (Pagh [Pag01a] and Pǎtras ¸cu [Pǎt08]); the best known using OPT + n 0.999 space has query time O(lg n); the only known non-trivial data structure with OPT + n 0.001 space has O(lg n) query time and requires a lookup table of size ≥ n 2.99 (!). Our new data structure answers open questions by Pǎtras ¸cu and Thorup [Pǎt08, Tho13] . We also present a scheme that compresses a sequence X ∈ Σ n to its zeroth order (empirical) entropy up to |Σ| • poly lg n extra bits, supporting decoding each X i in O(lg |Σ|) expected time.

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.

6 top-tier papers have 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

  • Optimal Static Dictionary with Worst-Case Constant Query Time cites Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries
  • Optimal Static Dictionary with Worst-Case Constant Query Time cites On the optimal time/space tradeoff for hash tables
  • Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries cites On the optimal time/space tradeoff for hash tables
  • Dynamic "Succincter" cites Tight Cell-Probe Lower Bounds for Dynamic Succinct Dictionaries
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  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. Optimal Static Dictionary with Worst-Case Constant Query TimeYang Hu, Jingxun Liang, Huacheng Yu, Junkai Zhang et al.STOC 2025 · 3 citations
  4. Dynamic "Succincter"Tianxiao Li, Jingxun Liang, Huacheng Yu, Renfei ZhouFOCS 2023 · 3 citations
  5. Sampling Permutations with Cell Probes Is HardYaroslav Alekseev, Mika Göös, Konstantin Myasnikov, Artur Riazanov et al.STOC 2026 · 2 citations

Builds on1

  1. How to Store a Random WalkEmanuele Viola, Omri Weinstein, Huacheng YuSODA 2020 · 4 citations

Related papers

  1. Succinct Dynamic Rank/Select: Bypassing the Tree-Structure BottleneckWilliam Kuszmaul, Jingxun Liang, Renfei ZhouSODA 2026 · 1 citation
  2. Compressing Dynamic Fully Indexable Dictionaries in Word-RAMGabriel Marques DominguesSTOC 2026 · 2 citations
  3. Learned Static Function Data StructuresStefan Hermann, Hans-Peter Lehmann, Giorgio Vinciguerra, Stefan WalzerVLDB 2026
  4. A Hash Table Without Hash Functions, and How to Get the Most Out of Your Random BitsWilliam KuszmaulFOCS 2022 · 7 citations
  5. Static Retrieval Revisited: To Optimality and BeyondYang Hu, William Kuszmaul, Jingxun Liang, Huacheng Yu et al.FOCS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines