,
Niccolò Rigi-Luperti
,
Peter Sanders
Creative Commons Attribution 4.0 International license
Bit vectors with support for fast rank and select are a fundamental building block for compressed data structures. We close a gap between theory and practice by mapping a design space of promising data structures, analyzing it, and experimentally evaluating a promising region. The result are implementations of rank and select data structures for bit vectors with worst-case constant query time, leading practical performance, and a space-overhead reaching below 1 %. For difficult inputs, we are ≈ 8 times faster than the best previous implementations.
@InProceedings{kurpicz_et_al:LIPIcs.ESA.2026.8,
author = {Kurpicz, Florian and Rigi-Luperti, Niccol\`{o} and Sanders, Peter},
title = {{Practical Bit Vectors Supporting Constant Time Rank and Select in Optimal Space}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {8:1--8:21},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.8},
URN = {urn:nbn:de:0030-drops-271443},
doi = {10.4230/LIPIcs.ESA.2026.8},
annote = {Keywords: succinct data structures, bit vectors, rank and select}
}