add link to benchmark

This commit is contained in:
Leijurv 2018-09-09 15:33:53 -07:00
parent d8ca6cad4e
commit 8fa0d63ae5
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -23,6 +23,10 @@ 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>
* 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:
* https://docs.google.com/spreadsheets/d/1GWjOjOZINkg_0MkRgKRPH1kUzxjsnEROD9u3UFh_DJc/edit
* *
* @author leijurv * @author leijurv
*/ */