4 releases

0.2.2 Mar 21, 2024
0.2.1 Mar 21, 2024
0.2.0 Mar 21, 2024
0.1.0 May 29, 2022

#978 in Data structures

Download history 3/week @ 2024-06-03

86 downloads per month

0BSD license

18KB
345 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