mirror of
https://github.com/Minestom/Minestom.git
synced 2025-04-03 01:22:57 +00:00
* Change index to use more bit manipulation for ≈no branching for creating indexes Also changes zero cases to be zero instead of 000010... as the signing bit would be set for zero. Still produces same components regardless; So it shouldn't be a breaking change Also around no branching due to the default implementation of Math.abs being a branch; intrinsically, it doesn't branch. * Add some benchmarks