#bit-flags

indexed-bitfield

An indexed bitfield, to track presence or absence of up to 128 elements

2 releases

0.1.1 Oct 19, 2023
0.1.0 Oct 19, 2023

#1479 in Data structures

MIT/Apache

29KB
680 lines

An indexed bitfield

...To be added later...


lib.rs:

This crate is a simple bitfield that can be used to track presence or absence of elements in a known collection of a specified size.

Under the hood it uses unsigned integers. The bits represent presence of absence of elements. No reference to a collection is made explicitly.

Dependencies

~150KB