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

#908 in Data structures

Download history 3/week @ 2024-02-16 7/week @ 2024-02-23 225/week @ 2024-03-15 111/week @ 2024-03-22 25/week @ 2024-03-29 9/week @ 2024-04-05

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