9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00

Change radix sort threshold to 6

This commit is contained in:
HaHaWTH
2025-07-04 21:58:18 +14:00
parent a80d2bd374
commit 5601d60ca4

View File

@@ -7,7 +7,7 @@ import java.util.List;
public class FastBitRadixSort {
private static final int SMALL_ARRAY_THRESHOLD = 2;
private static final int SMALL_ARRAY_THRESHOLD = 6;
private Entity[] entityBuffer = new Entity[0];
private long[] bitsBuffer = new long[0];