RoaringBitmap / RoaringBitmap/roaring-rs

Serialize to LSB bytes

Open
#324 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
957
Forks
119
Avg merge
3d 3h
Merged PRs (30d)
1

Description

Since RoaringBitmap::from_lsb0_bytes lets you convert lsb bytes into a RoaringBitmap, it would be helpful to have an API to convert a RoaringBitmap back to lsb bytes. My app uses lsb bytes to communicate with other components, but works with RoaringBitmap internally, so I need to go both ways.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing RoaringBitmap::from_lsb0_bytes API and its implementation or tests in the repository. Trace how LSB bytes are interpreted, then define the reverse API so converting to bytes and back preserves the bitmap; add coverage for that round trip.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.