Crate fastbit

Source
Expand description

§fastbit

fastbit is a fast, efficient, and pure Rust bitset library for high-performance data indexing and analytics.

This crate provides a collection of bitset and bitmap data structures, including growable bit vectors, fixed-size bitsets, bit grids, and efficient bit operations.

§Features

  • Growable and fixed-size bitsets
  • Efficient bitwise operations
  • Bit slices and views for zero-copy access
  • Iterators and utilities for bit manipulation

§Examples

use fastbit::{BitVec, BitRead, BitWrite};

let mut bv: BitVec<u8> = BitVec::new(128);
bv.set(5);
assert!(bv.test(5));
bv.reset(5);
assert!(!bv.test(5));

§Modules

§Crate-level re-exports

The most important types are re-exported at the crate root.

Structs§

BitFixed
A fixed-size bitset.
BitGrid
A two-dimensional bit grid.
BitSpan
BitSpanMut
BitVec
A growable, heap-allocated bit vector.
BitView
BitViewMut
Iter

Traits§

BitRead
A bitset trait support
BitWrite