Crate succinct

Source
Expand description

Succinct data structures for Rust.

So far we have:

  • bit vectors and bit buffers;
  • integer vectors with arbitrary-sized (1- to 64-bit) elements;
  • a variety of [universal codes](coding/index.html;
  • constant-time rank queries; and
  • O(lg lg n)-time select queries based on binary search over ranks.

§Usage

It’s on crates.io, so you can add

[dependencies]
succinct = "0.5.2"

to your Cargo.toml.

Re-exports§

Modules§

  • Bit vector interfaces and implementations.
  • Broadword operations treating u64 as a parallel vector.
  • Codes for data compression.
  • Vectors of k-bit unsigned integers.
  • Support for fast rank queries.
  • Support for fast select queries.
  • Traits describing how bits and arrays of bits are stored.
  • Bit-oriented streams for coding.

Macros§

Traits§