TY - GEN
T1 - Fast Select Queries Using Hybrid Bitvectors
AU - Chiu, Eric
AU - Kempa, Dominik
N1 - Publisher Copyright:
© Eric Chiu and Dominik Kempa.
PY - 2026/6/15
Y1 - 2026/6/15
N2 - One of the central problems in the design of compressed data structures is the efficient support for rank and select queries on bitvectors. These two operations form the backbone of more complex data structures used for the compact representation of texts, trees, graphs, or grids. One effective solution is the so-called hybrid bitvector implementation, which partitions the input bitvector into blocks and adaptively selects an encoding method - such as run-length, plain, or minority encoding - based on local redundancy. Experiments have shown that hybrid bitvectors achieve excellent all-around performance on repetitive and non-repetitive inputs. Current hybrid bitvector implementations, however, support only rank queries (i.e., counting the number of ones up to a given position) and lack support for select queries (which ask for the position of a given occurrence of a given bit), which limits their applicability. In this paper, we propose a method to add support for select queries to hybrid bitvectors, and we evaluate the resulting implementation on repetitive and non-repetitive inputs. Our results show that hybrid bitvectors offer very strong all-around performance, combining high query speed with space efficiency and remaining consistently on or near the Pareto frontier.
AB - One of the central problems in the design of compressed data structures is the efficient support for rank and select queries on bitvectors. These two operations form the backbone of more complex data structures used for the compact representation of texts, trees, graphs, or grids. One effective solution is the so-called hybrid bitvector implementation, which partitions the input bitvector into blocks and adaptively selects an encoding method - such as run-length, plain, or minority encoding - based on local redundancy. Experiments have shown that hybrid bitvectors achieve excellent all-around performance on repetitive and non-repetitive inputs. Current hybrid bitvector implementations, however, support only rank queries (i.e., counting the number of ones up to a given position) and lack support for select queries (which ask for the position of a given occurrence of a given bit), which limits their applicability. In this paper, we propose a method to add support for select queries to hybrid bitvectors, and we evaluate the resulting implementation on repetitive and non-repetitive inputs. Our results show that hybrid bitvectors offer very strong all-around performance, combining high query speed with space efficiency and remaining consistently on or near the Pareto frontier.
KW - compressed bitvectors
KW - hybrid bitvector
KW - select queries
UR - https://www.scopus.com/pages/publications/105042646290
U2 - 10.4230/LIPIcs.SEA.2026.12
DO - 10.4230/LIPIcs.SEA.2026.12
M3 - Conference contribution
AN - SCOPUS:105042646290
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 24th International Symposium on Experimental Algorithms, SEA 2026
A2 - Aumuller, Martin
A2 - Finocchi, Irene
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 24th International Symposium on Experimental Algorithms, SEA 2026
Y2 - 22 June 2026 through 24 June 2026
ER -