mirror of
https://github.com/cabaletta/baritone
synced 2024-12-29 10:32:31 +00:00
almost forgot crucial performance numbers
This commit is contained in:
parent
ecbb34366f
commit
075ad3f244
@ -25,7 +25,7 @@ import net.minecraft.util.math.Vec3i;
|
|||||||
* A better BlockPos that has fewer hash collisions (and slightly more performant offsets)
|
* A better BlockPos that has fewer hash collisions (and slightly more performant offsets)
|
||||||
* <p>
|
* <p>
|
||||||
* Is it really faster to subclass BlockPos and calculate a hash in the constructor like this, taking everything into account?
|
* Is it really faster to subclass BlockPos and calculate a hash in the constructor like this, taking everything into account?
|
||||||
* Yes. It's called BETTER BlockPos for a reason. Source:
|
* Yes. 20% faster actually. It's called BETTER BlockPos for a reason. Source:
|
||||||
* <a href="https://docs.google.com/spreadsheets/d/1GWjOjOZINkg_0MkRgKRPH1kUzxjsnEROD9u3UFh_DJc">Benchmark Spreadsheet</a>
|
* <a href="https://docs.google.com/spreadsheets/d/1GWjOjOZINkg_0MkRgKRPH1kUzxjsnEROD9u3UFh_DJc">Benchmark Spreadsheet</a>
|
||||||
*
|
*
|
||||||
* @author leijurv
|
* @author leijurv
|
||||||
|
Loading…
Reference in New Issue
Block a user