Optimal Static Dictionary with Worst-Case Constant Query Time
Yang Hu, Jingxun Liang, Huacheng Yu, Junkai Zhang, Renfei Zhou

TL;DR
This paper introduces a new static dictionary data structure that achieves worst-case constant query time using near-optimal space, improving upon previous solutions by reducing the extra space needed for constant-time queries.
Contribution
It presents the first static dictionary with worst-case constant query time using space close to the information-theoretic optimum, with most extra space dedicated to a universal lookup table.
Findings
Achieves worst-case constant query time with near-optimal space.
Uses only $ ext{OPT} + n^{ ext{ extepsilon}}$ bits of space.
Most extra space is for a universal lookup table and hash functions.
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 and values in , such that given a query , it quickly returns if 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 . We construct a dictionary that uses bits of space, and answers queries in constant time in worst case. Previously, constant-time dictionaries are only known with space [P\v{a}tra\c{s}cu 2008], or with space but expected constant query time [Yu 2020]. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Distributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques
