RoaringBitmap / RoaringBitmap/CRoaring
Converting from bitmap/bitarray to roaring bitmap
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.9k
- Forks
- 334
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 17
Description
Hi,
Is there a simple way to initiate/fill a roaring_bitmap_t from an flat bitmap (simple example of an "flat bitmap" would be: one-byte [0000 0101]b that translates to the integer set { 1 , 4 }, or 2-bytes [0000 1000 1001 0000]b that translate to the integer set {5, 8, 12} - (I'm probably messing up some bit-order or endianness here...) instead of a array of integer (actual values) ?
I'm sorry if it's self-evident from the headers or existing issues, I couldn't find it with my poor search-fu.
Thanks in advance
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing headers for roaring_bitmap_t construction and any bitmap or bitset conversion entry points. Compare those APIs with the flat bitmap examples in the issue. Done means clarifying whether a supported conversion exists or specifying the required API behavior and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100