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.
What
Improves performance of
getTierByVoltage
,getOCTierByVoltage
, andgetFloorTierByVoltage
. Also correctsGTValues.V[GTValues.MAX]
's value to be1 << 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.