#index #bit-vector #bits #indexing #bit

indexed_bitvec_core

Core operations on indexed bitvectors including (hopefully) fast rank and select operations

7 stable releases

4.0.0 Jan 13, 2019
3.1.1 Jan 8, 2019
3.0.0 Dec 24, 2018
2.2.0 Dec 23, 2018
2.0.0 Jul 22, 2018

#7 in #bitvector


Used in 3 crates (2 directly)

Apache-2.0

73KB
1.5K SLoC

Indexed Bitvector

Build status Latest version Documentation

This library provides an indexing system for bitvectors which should hopefully allow fast rank and select operations.

This library is based on the design proposed by Zhou, Andersen and Kaminsky in Space–Efficient, High–Performance Rank & Select Structures on Uncompressed Bit Sequences.

See also

I think there is an implementation of the same approach in a Haskell succinct vector library.

Zhou, Andersen and Kaminsky. Space–Efficient, High–Performance Rank & Select Structures on Uncompressed Bit Sequences


lib.rs:

Core operations to create indexes used to perform fast rank & select operations on bitvectors.

No runtime deps