Back to browse
A sparse, compressed bitmap index in C. Better than Roaring Bitmaps?

A sparse, compressed bitmap index in C. Better than Roaring Bitmaps?

by gregburd·May 19, 2026·2 points·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

Beats Roaring Bitmaps on sparse runs with 8-byte descriptors for billion-bit sequences.

Strengths
  • Dual encoding strategy switches between sparse bit-vectors and RLE based on local density patterns.
  • Production-grade hardening includes fuzz harnesses, valgrind checks, and CI drift detection.
  • Meson build system with Nix flake support ensures reproducible builds across architectures.
Weaknesses
  • Zero stars and forks suggests limited community validation compared to established alternatives.
  • Benchmarks claim superiority but lack direct side-by-side latency/throughput tables vs Roaring.
Target Audience

Systems programmers, database engine developers, embedded engineers

Similar To

Roaring Bitmaps · CRoaring · EWAH

Post Description

This is an implementation of a sparse, compressed bitmap index. In the best case, it can store 2048 bits in just 8 bytes. In the worst case, it stores the 2048 bits uncompressed and requires an additional 8 bytes of overhead. It compares favorably against Roaring Bitmaps and other competition in the space, but is it better?

Similar Projects

Other●●●●Gem

Rendering Chinese text on a Commodore 64

Fits 2,500+ Chinese glyphs on a C64 using dynamic caching and self-modifying 6502 code.

WizardryNiche GemZero to One
lionello
4019d ago