English

Dynamic Dictionary with Subconstant Wasted Bits per Key

Data Structures and Algorithms 2023-11-01 v1

Abstract

Dictionaries have been one of the central questions in data structures. A dictionary data structure maintains a set of key-value pairs under insertions and deletions such that given a query key, the data structure efficiently returns its value. The state-of-the-art dictionaries [Bender, Farach-Colton, Kuszmaul, Kuszmaul, Liu 2022] store nn key-value pairs with only O(nlog(k)n)O(n \log^{(k)} n) bits of redundancy, and support all operations in O(k)O(k) time, for klognk \leq \log^* n. It was recently shown to be optimal [Li, Liang, Yu, Zhou 2023b]. In this paper, we study the regime where the redundant bits is R=o(n)R=o(n), and show that when RR is at least n/polylognn/\text{poly}\log n, all operations can be supported in O(logn+log(n/R))O(\log^* n + \log (n/R)) time, matching the lower bound in this regime [Li, Liang, Yu, Zhou 2023b]. We present two data structures based on which range RR is in. The data structure for R<n/log0.1nR<n/\log^{0.1} n utilizes a generalization of adapters studied in [Berger, Kuszmaul, Polak, Tidor, Wein 2022] and [Li, Liang, Yu, Zhou 2023a]. The data structure for Rn/log0.1nR \geq n/\log^{0.1} n is based on recursively hashing into buckets with logarithmic sizes.

Keywords

Cite

@article{arxiv.2310.20536,
  title  = {Dynamic Dictionary with Subconstant Wasted Bits per Key},
  author = {Tianxiao Li and Jingxun Liang and Huacheng Yu and Renfei Zhou},
  journal= {arXiv preprint arXiv:2310.20536},
  year   = {2023}
}

Comments

46 pages; SODA 2024

R2 v1 2026-06-28T13:07:31.409Z