Papers › Roaring Bitmaps: Implementation of an Optimized Software Library

Roaring Bitmaps: Implementation of an Optimized Software Library

22 Sep 2017arXiv:1709.07821links table onlyarchive 2025-07-28

Daniel Lemire, Owen Kaser, Nathan Kurz, Luca Deri, Chris O'Hara, François Saint-Jacques, Gregory Ssi-Yan-Kai

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Compressed bitmap indexes are used in systems such as Git or Oracle to accelerate queries. They represent sets and often support operations such as unions, intersections, differences, and symmetric differences. Several important systems such as Elasticsearch, Apache Spark, Netflix's Atlas, LinkedIn's Pinot, Metamarkets' Druid, Pilosa, Apache Hive, Apache Tez, Microsoft Visual Studio Team Services and Apache Kylin rely on a specific type of compressed bitmap index called Roaring. We present an optimized software library written in C implementing Roaring bitmaps: CRoaring. It benefits from several algorithms designed for the single-instruction-multiple-data (SIMD) instructions available on commodity processors. In particular, we present vectorized algorithms to compute the intersection, union, difference and symmetric difference between arrays. We benchmark the library against a wide range of competitive alternatives, identifying weaknesses and strengths in our software. Our work is available under a liberal open-source license.

PaperPDFCode

Code

15 repositories listed; official and paper-mentioned ones first.

RoaringBitmap/CRoaring officialmentioned in papermentioned on GitHub report
lemire/EWAHBoolArray officialmentioned in papermentioned on GitHub report
BeSky/CRoaring mentioned on GitHub report
BeSky/RoaringBitmap mentioned on GitHub report
Budome/No mentioned on GitHub report
RoaringBitmap/RoaringBitmap mentioned on GitHub report
RoaringBitmap/SwiftRoaring mentioned on GitHub report
RoaringBitmap/gocroaring mentioned on GitHub report
RoaringBitmap/roaring mentioned on GitHub report
casualjim/go-roaring64 mentioned on GitHub report
gguzun/hybridCPP mentioned on GitHub report
hochoy18/RoaringBitmap mentioned on GitHub report
lemire/RoaringBitmap mentioned on GitHub report
piotte13/SwiftRoaring mentioned on GitHub report
sagpant/EWAHBoolArray mentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections