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

Simplify roaring64map rank #494

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Conversation

Dr-Emann
Copy link
Member

@Dr-Emann Dr-Emann commented Jul 1, 2023

Use a single search of the map, rather than find and sometimes lower_bound, use a single lower_bound call.

Use a single search of the map, rather than `find` and sometimes
`lower_bound`, use a single `lower_bound` call.
@lemire
Copy link
Member

lemire commented Jul 1, 2023

Looks better, indeed.

Merging on account that the code is simpler and unlikely to be slower.

@lemire lemire merged commit 7d5a67b into RoaringBitmap:master Jul 1, 2023
@Dr-Emann Dr-Emann deleted the simpler_cpp_rank branch July 2, 2023 02:58
@Dr-Emann Dr-Emann restored the simpler_cpp_rank branch August 7, 2023 23:02
@Dr-Emann Dr-Emann deleted the simpler_cpp_rank branch September 25, 2023 21:13
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

Successfully merging this pull request may close these issues.

2 participants