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

Fix BptreeMap range iter end condtition #119

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

Erigara
Copy link
Contributor

@Erigara Erigara commented Jun 24, 2024

Fix for #118.

The problem was that end condition was not checked correctly when both leaf iterators ended up in the same leaf.

I've also tried to add proptest test to check consistency in range iter of concread::BptreeMap and std::collections::BTreeMap.
Can make separate PR if it's something desirable for this crate.

@Firstyear
Copy link
Member

Thank you for this! Yes proptest sounds interesting :)

@Firstyear Firstyear merged commit c0955ec into kanidm:master Jun 24, 2024
2 checks passed
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