r*-indexing
arXiv:2508.12675
Abstract
Let be a text over an alphabet of size , let be the sum of the numbers of runs in the Burrows-Wheeler Transforms of and its reverse, and let be the number of phrases in the LZ77 parse of . We show how to store in bits such that, given a pattern , we can report the locations of the occurrences of in in time. We can also report the position of the leftmost and rightmost occurrences of in in the same space and time.