Compressed Index with Construction in Compressed Space
Abstract
Suppose that we are given a string of length over an alphabet and is the string complexity of , a known compression measure. We describe an index on with space, measured in -bit machine words, which can search in any string of length in time, where is the number of occurrences and is any fixed constant (the big-O in the space bound hides factor ). Crucially, the index can be built in expected time by one left-to-right pass on the string in a streaming fashion with construction space. The index does not use the Karp--Rabin fingerprints, and the randomization in the construction time can be eliminated by using deterministic dictionaries instead of hash tables (with a slowdown). The search time matches currently best results and the space is almost optimal (the known optimum is , where and is the alphabet size, and it coincides with when ). This is the first index that can be constructed within such space and with such time guarantees. To avoid uninteresting marginal cases, all above bounds are stated for .
Cite
@article{arxiv.2602.13735,
title = {Compressed Index with Construction in Compressed Space},
author = {Dmitry Kosolobov},
journal= {arXiv preprint arXiv:2602.13735},
year = {2026}
}
Comments
30 pages (1 title page + 15 main text + 3 reference pages + appendix), 5 figures