fixedbitset
fixedbitset copied to clipboard
A simple bitset container for Rust
Detailed here: https://lemire.me/blog/2018/03/08/iterating-over-set-bits-quickly-simd-edition/ This can be significantly faster on denser bitsets, and should be easy enough to implement given that the backing blocks are now stored in SIMD-compatible blocks.
I would be nice if this library support `rotate_left` and `rotate_right`, just liked [the standard library](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.rotate_right).
As the title says. It would be nice to have bit shift operations, so ``, and `>>>`.
Hi! :wave: Is there a way to find consecutive runs of 1 or 0 given a starting point? It looks like I could implement this manually by indexing bits one...
`zip` truncates the length of the iterator to the shortest of the two, but this is incorrect for `difference_count` since that might ignore some bits in the tail of the...