mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
Narrowed bake sizing constants
- Bake sizing constants other than the floor are package-private
This commit is contained in:
1 parent
5c4bce0c1a
commit
fea9aa4f19
1 file changed
+3
-3
@@ -7,9 +7,9 @@ import java.util.Objects;
|
|||||||
|
|
||||||
public final class ChunkBakeCache {
|
public final class ChunkBakeCache {
|
||||||
public static final int MINIMUM_CAPACITY = 2_048;
|
public static final int MINIMUM_CAPACITY = 2_048;
|
||||||
public static final int MAXIMUM_CAPACITY = 32_768;
|
static final int MAXIMUM_CAPACITY = 32_768;
|
||||||
public static final long BYTES_PER_ENTRY = 13L * 1_024L;
|
static final long BYTES_PER_ENTRY = 13L * 1_024L;
|
||||||
public static final int HEAP_SHARE = 32;
|
static final int HEAP_SHARE = 32;
|
||||||
private static final ThreadLocal<int[]> SPARSE = ThreadLocal.withInitial(() -> new int[1]);
|
private static final ThreadLocal<int[]> SPARSE = ThreadLocal.withInitial(() -> new int[1]);
|
||||||
|
|
||||||
private final PlaneSource source;
|
private final PlaneSource source;
|
||||||
|
|||||||
Reference in new issue
Block a user