Logo image
Compressed persistent index for efficient rank/select queries
Conference paper   Peer reviewed

Compressed persistent index for efficient rank/select queries

Wing-Kai Hon, Lap-Kei Lee, Kunihiko Sadakane and Konstantinos Tsakalidis
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Vol.8037 LNCS, pp.402-414
2013

Abstract

We design compressed persistent indices that store a bit vector of size n and support a sequence of k bit-flip update operations, such that rank and select queries at any version can be supported efficiently. In particular, we present partially and fully persistent compressed indices for offline and online updates that support all operations in time polylogarithmic in n and k. This improves upon the space or time complexities of straightforward approaches, when k = O(n/log n), which is common in biological applications. We also prove that any partially persistent index that occupies O((n + k)log(nk)) bits requires ω(1) time to support the rank query at a given version. © 2013 Springer-Verlag.

Metrics

1 Record Views

Details

Logo image