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 |
#42 in #bit-vector
Used in 4 crates
(2 directly)
73KB
1.5K
SLoC
Indexed Bitvector
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.