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

Clean up priority scheduler bucket look ups #4632

Merged
merged 2 commits into from
May 21, 2024

Conversation

clemahieu
Copy link
Contributor

This combines elements of changes from #4626 and #4623.

Bucket setup is encapsulated in its own function which cleans up the constructor.

"minimums" container is eliminated and each bucket object holds its minimum range value.
Searching for the bucket is done as a search on a sorted vector which should give the most efficient lookups given the vector contents doesn't change.

@clemahieu clemahieu requested a review from pwojcikdev May 20, 2024 23:48
@clemahieu clemahieu merged commit 37dbc3c into nanocurrency:develop May 21, 2024
23 of 26 checks passed
@qwahzi qwahzi added this to the V27 milestone May 21, 2024
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.

3 participants