Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any interest in a function return number of bytes of memory used by a bitmap? #406

Open
madscientist opened this issue Nov 13, 2022 · 0 comments

Comments

@madscientist
Copy link
Contributor

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant