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

#1161 in Data structures

Download history 7/week @ 2024-02-19 3/week @ 2024-02-26 336/week @ 2024-03-18 33/week @ 2024-04-01

369 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