Skip to content

Skip superfluous range bound key comparisons #117

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

Merged
merged 20 commits into from
Mar 22, 2025
Merged

Conversation

marvin-j97
Copy link
Contributor

Seems to have a decent impact for medium-long keys

More benchmarking required

in a disjoint level, we don't need a range check because the binary search already takes care of that, so we save 1 key range check per disjoint level (L1, L2, L3, ...)
@marvin-j97 marvin-j97 marked this pull request as ready for review March 21, 2025 16:41
@marvin-j97 marvin-j97 merged commit 8422ad6 into main Mar 22, 2025
11 checks passed
@marvin-j97 marvin-j97 deleted the perf/skip-range-key-cmps branch March 22, 2025 13:55
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.

1 participant