,
Dominik Kempa
Creative Commons Attribution 4.0 International license
Rank and select queries are basic operations on sequences, with applications in compressed text indexes and other space-efficient data structures. One of the standard data structures supporting these queries is the wavelet tree. In this paper, we study wavelet forests, that is, wavelet-tree structures based on the fixed-block compression boosting technique. Such structures partition the input sequence into fixed-size blocks and build a separate wavelet tree for each block. Previous work showed that this approach yields strong practical performance for rank queries. We extend wavelet forests to support select queries. We show that select support can be added with little additional space overhead and that the resulting structures remain practically efficient. In experiments on a range of non-repetitive and repetitive inputs, wavelet forests are competitive with, and in most cases outperform, standalone wavelet-tree implementations. We also study the effect of internal parameters, including superblock size and navigational data, on select-query performance.
@InProceedings{chiu_et_al:LIPIcs.SEA.2026.11,
author = {Chiu, Eric and Kempa, Dominik},
title = {{Wavelet Forests Revisited}},
booktitle = {24th International Symposium on Experimental Algorithms (SEA 2026)},
pages = {11:1--11:11},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-422-2},
ISSN = {1868-8969},
year = {2026},
volume = {371},
editor = {Aum\"{u}ller, Martin and Finocchi, Irene},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SEA.2026.11},
URN = {urn:nbn:de:0030-drops-260152},
doi = {10.4230/LIPIcs.SEA.2026.11},
annote = {Keywords: wavelet tree, wavelet forest, select queries}
}