RoaringBitmap / RoaringBitmap/CRoaring
Any interest in a function return number of bytes of memory used by a bitmap?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.9k
- Forks
- 334
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 17
Description
I had a need to calculate the number of bytes of memory used for a given bitmap, so I created a set of functions that will do this, and plumbed them through both the C and C++ interfaces.
Is there any interest in having something like this in the codebase?
/**
* Return the number of bytes of memory used by the bitmap.
*/
size_t roaring_bitmap_memory_size_in_bytes(const roaring_bitmap_t *r);
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
No files or tests are named. Start by locating the C entry point roaring_bitmap_memory_size_in_bytes and the corresponding C++ interface, then inspect how bitmap memory is represented; done would mean agreeing on the API scope and validating the reported byte count for both interfaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100