#bitmap #bitvec

bmap

A bitmap with an internal counter

1 unstable release

0.1.0 May 29, 2022

#17 in #bitvec

0BSD license

15KB
283 lines

CountedBitmap

bmap::CountedBitmap is an array of bits, with methods to set/clear bits by index, and a built-in counter used to keep track of how many bits have been set.

This crate has a very specific use case. You are probably looking for the bitvec crate.


lib.rs:

Container of bits adressable by an index.

No runtime deps