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

r64: allow _move_equalorlarger to move from beyond the ends of the bitmap #596

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

SLieve
Copy link
Contributor

@SLieve SLieve commented Feb 18, 2024

Fixes #594. Previously roaring64_iterator_move_equalorlarger would only return a valid result if the iterator was positioned within the bitmap. With this, the iterator is allowed to start outside the bitmap.

…tmap

Previously roaring64_iterator_move_equalorlarger would only return a valid
result if the iterator was positioned within the bitmap. With this commit, the
iterator is allowed to start outside the bitmap.
@SLieve SLieve marked this pull request as ready for review February 18, 2024 16:50
@SLieve SLieve requested a review from Dr-Emann February 18, 2024 16:50
Copy link
Member

@Dr-Emann Dr-Emann left a comment

Choose a reason for hiding this comment

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

Lgtm

@SLieve SLieve merged commit 3946d39 into RoaringBitmap:master Feb 19, 2024
20 checks passed
@SLieve SLieve deleted the r64_move_eqgt branch February 19, 2024 18:37
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.

roaring64_iterator_move_equalorlarger cannot come back from the end
2 participants