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 gaps() time complexity for inclusive range map #105

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

neerajsi-msft
Copy link
Contributor

I didn't initially realize that the inclusive range map is a completely different implementation. Implement an O(log n) initial seek for the inclusive range map, similar to abf6bec.

I didn't initially realize that the inclusive range map
is a completely different implementation. Implement
an O(log n) initial seek for the inclusive range map,
similar to abf6bec.
@neerajsi-msft
Copy link
Contributor Author

Hi Jeff,
Thanks for accepting my previous PR and leaving a suggestion to improve the inclusive range map. Here's the requested change.

I was unable to run fuzz tests so far for this change and the previous change. I'm developing on an aarch64 Windows machine and rustc doesn't yet support fuzzing for my target. I'm currently installing WSL and giving fuzzing on Linux a try. I'll drop another note here after I run the fuzz tests.

Thanks again for the very helpful library!.

@neerajsi-msft
Copy link
Contributor Author

I tried out the two gaps fuzz targets for ~10 minutes each. Looks like no issues found!

@neerajsi-msft
Copy link
Contributor Author

neerajsi-msft commented Dec 30, 2024

This change is part of addressing issue #103

@jeffparsons
Copy link
Owner

Thanks for this!

@jeffparsons jeffparsons merged commit 3a452ad into jeffparsons:main Dec 31, 2024
13 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