We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Data Structures and Algorithms

Title: Rank and select: Another lesson learned

Abstract: Rank and select queries on bitmaps are essential building bricks of many compressed data structures, including text indexes, membership and range supporting spatial data structures, compressed graphs, and more. Theoretically considered yet in 1980s, these primitives have also been a subject of vivid research concerning their practical incarnations in the last decade. We present a few novel rank/select variants, focusing mostly on speed, obtaining competitive space-time results in the compressed setting. Our findings can be summarized as follows: $(i)$ no single rank/select solution works best on any kind of data (ours are optimized for concatenated bit arrays obtained from wavelet trees for real text datasets), $(ii)$ it pays to efficiently handle blocks consisting of all 0 or all 1 bits, $(iii)$ compressed select does not have to be significantly slower than compressed rank at a comparable memory use.
Comments: Compared to v1: slightly optimized rank implementations
Subjects: Data Structures and Algorithms (cs.DS)
MSC classes: 68W32
ACM classes: F.2.2
Cite as: arXiv:1605.01539 [cs.DS]
  (or arXiv:1605.01539v2 [cs.DS] for this version)

Submission history

From: Szymon Grabowski [view email]
[v1] Thu, 5 May 2016 09:39:59 GMT (81kb)
[v2] Thu, 12 May 2016 16:01:30 GMT (83kb)

Link back to: arXiv, form interface, contact.