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 and fix signedness issues in contains methods #256

Merged
merged 1 commit into from
Jun 13, 2018
Merged

simplify and fix signedness issues in contains methods #256

merged 1 commit into from
Jun 13, 2018

Conversation

richardstartin
Copy link
Member

There are a few opportunities to reduce duplication between the Container::contains(Container) methods and Container.contains(int min, int sup) methods, and this fixes some errors where signed values should be treated as unsigned.

These changes have been made specifically to avoid any merge conflicts with #255.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 91.468% when pulling e47ad7e on richardstartin:contains-range into 18de8b5 on RoaringBitmap:master.

@sesuncedu
Copy link
Contributor

sesuncedu commented Jun 12, 2018

I should have checked this before I added the masking to the PR below :-)
edit: Though I think there shouldn't be a clash now I look at the diffs.

@lemire
Copy link
Member

lemire commented Jun 13, 2018

Looks great.

@lemire lemire merged commit f6bb012 into RoaringBitmap:master Jun 13, 2018
@richardstartin richardstartin deleted the contains-range branch June 14, 2018 18:11
Smallhi pushed a commit to Smallhi/RoaringBitmap that referenced this pull request Jun 14, 2021
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.

None yet

4 participants