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

Improve the Pairs Iterator type #112

Merged
merged 2 commits into from Jun 2, 2021
Merged

Improve the Pairs Iterator type #112

merged 2 commits into from Jun 2, 2021

Conversation

Kerollmops
Copy link
Member

This PR improves the Pairs Iterator to make it work with more types, it is now fully generic on the Container types by efficiently using the Borrow trait.

It fixes #111.

@Kerollmops
Copy link
Member Author

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 2, 2021

Build succeeded:

@bors bors bot merged commit bfd7df3 into master Jun 2, 2021
@bors bors bot deleted the pairs-iterator branch June 2, 2021 09:40
not-jan pushed a commit to not-jan/roaring-rs that referenced this pull request Aug 31, 2022
112: Improve the Pairs Iterator type r=Kerollmops a=Kerollmops

This PR improves the Pairs Iterator to make it work with more types, it is now fully generic on the `Container` types by efficiently using [the `Borrow` trait](https://doc.rust-lang.org/std/borrow/trait.Borrow.html).

It fixes RoaringBitmap#111.

Co-authored-by: Kerollmops <clement@meilisearch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce a better Pairs iterator and use it everywhere
1 participant