A wavelet forest for a text T[1..n] over an alphabet σ takes nH0(T)+o(nlogσ) bits of space and supports access and rank on T in O(logσ) time. K\"arkk\"ainen and Puglisi (2011) implicitly introduced wavelet forests and showed that when T is the Burrows-Wheeler Transform (BWT) of a string S, then a wavelet forest for T occupies space bounded in terms of higher-order empirical entropies of S even when the forest is implemented with uncompressed bitvectors. In this paper we show experimentally that wavelet forests also have better access locality than wavelet trees and are thus interesting even when higher-order compression is not effective on S, or when T is not a BWT at all.
Cite
@article{arxiv.2308.07809,
title = {Another virtue of wavelet forests?},
author = {Christina Boucher and Travis Gagie and Aaron Hong and Yansong Li and Norbert Zeh},
journal= {arXiv preprint arXiv:2308.07809},
year = {2023}
}