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: Engineering Compact Data Structures for Rank and Select Queries on Bit Vectors

Abstract: Bit vectors are fundamental building blocks of many succinct data structures. They can be used to represent graphs, are an important part of many text indices in the form of the wavelet tree, and can be used to encode ordered sequences of integers as Elias-Fano codes. To do so, two queries have to be answered: namely rank and select queries. Given a position in the bit vector, a rank query returns the number of 1-bits before that position. A select query, given a parameter $j$, returns the position of the $j$-th 1-bit. On a length-n bit vector, both queries can be answered in $O(1)$ time and require $o(n)$ bits of additional space. In practice, the smallest (uncompressed) rank and select data structure cs-poppy has a space overhead of $\approx$ 3.51% [Zhou et al., SEA 13]. In this paper, we present an improved rank and select data structure that has the same space overhead but can answer queries up to 8% (rank) and 16.5% (select) faster compared with cs-poppy.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2206.01149 [cs.DS]
  (or arXiv:2206.01149v2 [cs.DS] for this version)

Submission history

From: Florian Kurpicz [view email]
[v1] Thu, 2 Jun 2022 16:59:51 GMT (1397kb,D)
[v2] Sun, 6 Nov 2022 18:50:03 GMT (1646kb,D)

Link back to: arXiv, form interface, contact.