9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 02:19:19 +00:00
Files
Leaf/leaf-server/minecraft-patches/features
Kaan D. 175ff6feeb Use FastBitRadix on the NearestLivingEntitySensor (#212)
* Use Radix on the NearestLivingEntitySensor

* Since all distances are non-negative (distanceToSqr), the sign bit (bit 63) is always 0. Start sorting from bit 62 (the MSB of the exponent) instead of 63, saving one unnecessary pass.

* Fix sort issue while keeping the performance of it same

* Cleanup, make bucket size static

* Cleanup

* [ci/skip] Update patch comment
2025-02-06 22:02:25 +01:00
..
2025-01-21 07:14:02 -05:00
2025-01-23 17:13:35 -05:00
2025-01-27 21:38:20 -05:00
2025-01-23 19:57:34 -05:00
2025-01-18 10:44:55 -05:00
2025-01-18 10:44:55 -05:00
2025-01-18 10:44:55 -05:00