Skip to content
New issue

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

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

Already on GitHub? # to your account

Simplify, and optimize roaring64_bitmap_remove_range_closed #592

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

Dr-Emann
Copy link
Member

@Dr-Emann Dr-Emann commented Feb 12, 2024

Only visit existing nodes, rather than every possible container in the range

This makes it feasible to use roaring64_bitmap_remove_range_closed(r, 0, UINT64_MAX). Before, this would have taken forever, but now, it takes proportional time to the number of containers to remove.

See #549 (the first checkbox)

Only visit existing nodes, rather than every possible container in the range

This makes it feasible to use
`roaring64_bitmap_remove_range_closed(r, 0, UINT64_MAX)`. Before, this would
have taken forever, but now, it takes proportional time to the number of
containers to remove
@Dr-Emann Dr-Emann requested a review from SLieve February 12, 2024 20:40
Copy link
Contributor

@SLieve SLieve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simpler and faster, nice!

@Dr-Emann Dr-Emann merged commit 2cc7239 into master Feb 17, 2024
36 checks passed
@Dr-Emann Dr-Emann deleted the r64_opt_remove_range branch February 17, 2024 19:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants