9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 18:09:17 +00:00
Files
Leaf/leaf-server
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 01:13:35 -05:00