Succinct Filters for Sets of Unknown Sizes
Abstract
The membership problem asks to maintain a set , supporting insertions and membership queries, i.e., testing if a given element is in the set. A data structure that computes exact answers is called a dictionary. When a (small) false positive rate is allowed, the data structure is called a filter. The space usages of the standard dictionaries or filters usually depend on the upper bound on the size of , while the actual set can be much smaller. Pagh, Segev and Wieder (FOCS'13) were the first to study filters with varying space usage based on the current . They showed in order to match the space with the current set size , any filter data structure must use bits, in contrast to the well-known lower bound of bits, where is an upper bound on . They also presented a data structure with almost optimal space of bits provided that , with expected amortized constant insertion time and worst-case constant lookup time. In this work, we present a filter data structure with improvements in two aspects: - it has constant worst-case time for all insertions and lookups with high probability; - it uses space bits when , achieving optimal leading constant for all . We also present a dictionary that uses bits of space, matching the optimal space in terms of the current size, and performs all operations in constant time with high probability.
Cite
@article{arxiv.2004.12465,
title = {Succinct Filters for Sets of Unknown Sizes},
author = {Mingmou Liu and Yitong Yin and Huacheng Yu},
journal= {arXiv preprint arXiv:2004.12465},
year = {2020}
}
Comments
Full version of the paper accepted to ICALP 2020