Fast Compressed Self-Indexes with Deterministic Linear-Time Construction

Abstract

We introduce a compressed suffix array representation that, on a text T of length n over an alphabet of size σ, can be built in O(n) deterministic time, within O(nσ) bits of working space, and counts the number of occurrences of any pattern P in T in time O(|P| + w σ) on a RAM machine of w=( n)-bit words. This new index outperforms all the other compressed indexes that can be built in linear deterministic time, and some others. The only faster indexes can be built in linear time only in expectation, or require (n n) bits. We also show that, by using O(nσ) bits, we can build in linear time an index that counts in time O(|P|/σ n + n( n)2), which is RAM-optimal for w=( n) and sufficiently long patterns.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…