This is a roaring bitmaps implementation in pure zig. It strives for 100% interpretability with the croaring library that was used as the reference implementation. Performance is comparable to the C implementation.
10 Likes
This looks really nice. Excited to find one. I’ve been wanting to use roaring bitmaps in zig without libc.
Thank you kindly!
This is now pretty much finished pending some API niceties and ergonomics. Features are equivalent to CRoaring. Performance is mostly there (MacOS, yes, still working on Linux/Windows performance tweaks).
This looks very good. In my ECS project I currently heavily use Bitsets for indexing or collision detection with Bitmaps. If I find some time I will give it a try and migrate from ordinary bitset to your roaring bitmaps.
is there a source to read what are they comparing to classic bitmaps?