
🛠️ Zroar – Serialized Roaring Bitmaps in Zig
Summary
Zroar is a ground-up implementation of Roaring Bitmaps in Zig that stores keys and containers in a single flat byte buffer to eliminate serialization and deserialization steps entirely. It leverages Zig native SIMD operations and CPU cache locality to achieve high performance while using a simpler codebase than CRoaring.
Why it’s interesting
It outperforms CRoaring in the vast majority of benchmark tests, being up to 600x faster on serialization and deserialization due to its flat memory buffer design.
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: Hacker News / Show HN
Summary
Zroar is a ground-up implementation of Roaring Bitmaps in Zig that stores keys and containers in a single flat byte buffer to eliminate serialization and deserialization steps entirely. It leverages Zig native SIMD operations and CPU cache locality to achieve high performance while using a simpler codebase than CRoaring.
Why it’s interesting
It outperforms CRoaring in the vast majority of benchmark tests, being up to 600x faster on serialization and deserialization due to its flat memory buffer design.
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: Hacker News / Show HN