Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1709.07821

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Databases

arXiv:1709.07821 (cs)
[Submitted on 22 Sep 2017 (v1), last revised 7 Feb 2022 (this version, v6)]

Title:Roaring Bitmaps: Implementation of an Optimized Software Library

Authors:Daniel Lemire, Owen Kaser, Nathan Kurz, Luca Deri, Chris O'Hara, François Saint-Jacques, Gregory Ssi-Yan-Kai
View a PDF of the paper titled Roaring Bitmaps: Implementation of an Optimized Software Library, by Daniel Lemire and 6 other authors
View PDF
Abstract: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.
Subjects: Databases (cs.DB)
Cite as: arXiv:1709.07821 [cs.DB]
  (or arXiv:1709.07821v6 [cs.DB] for this version)
  https://doi.org/10.48550/arXiv.1709.07821
arXiv-issued DOI via DataCite
Journal reference: Software: Practice and Experience Volume 48, Issue 4 April 2018 Pages 867-895
Related DOI: https://doi.org/10.1002/spe.2560
DOI(s) linking to related resources

Submission history

From: Daniel Lemire [view email]
[v1] Fri, 22 Sep 2017 15:56:49 UTC (62 KB)
[v2] Tue, 5 Dec 2017 02:11:02 UTC (62 KB)
[v3] Fri, 5 Jan 2018 22:02:10 UTC (62 KB)
[v4] Mon, 13 Jul 2020 15:02:06 UTC (62 KB)
[v5] Wed, 14 Apr 2021 12:26:42 UTC (62 KB)
[v6] Mon, 7 Feb 2022 15:03:28 UTC (62 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Roaring Bitmaps: Implementation of an Optimized Software Library, by Daniel Lemire and 6 other authors
  • View PDF
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.DB
< prev   |   next >
new | recent | 2017-09
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Daniel Lemire
Owen Kaser
Nathan Kurz
Luca Deri
Chris O'Hara
…
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack