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

tierByVoltage optimizations #2617

Merged
merged 3 commits into from
Sep 22, 2024
Merged

tierByVoltage optimizations #2617

merged 3 commits into from
Sep 22, 2024

Conversation

TechLord22
Copy link
Member

What

Improves performance of getTierByVoltage, getOCTierByVoltage, and getFloorTierByVoltage. Also corrects GTValues.V[GTValues.MAX]'s value to be 1 << 31 instead of (1 << 31) - 1.

Much thanks to @krossgg and @M-W-K for working on optimizing these functions while I benchmarked them.

Outcome

Improves recipe logic related performance.

@TechLord22 TechLord22 requested a review from a team as a code owner September 13, 2024 21:56
@TechLord22 TechLord22 added the type: feature New feature or request label Sep 13, 2024
@TechLord22 TechLord22 merged commit c3a02b5 into master Sep 22, 2024
3 checks passed
@TechLord22 TechLord22 deleted the tc/tier-by-voltage branch September 22, 2024 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants