mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 22:10:18 +00:00
Smaller warp column cache
- Warp lattice columns keep a quarter of the density column capacity
This commit is contained in:
1 parent
b510f0dbfe
commit
b9409fb5ec
1 file changed
+1
-1
@@ -28,7 +28,7 @@ final class CaveDensityGrid {
|
|||||||
|
|
||||||
CaveDensityGrid(int capacity) {
|
CaveDensityGrid(int capacity) {
|
||||||
columns = new ConcurrentClockCache<>(capacity);
|
columns = new ConcurrentClockCache<>(capacity);
|
||||||
warpColumns = new ConcurrentClockCache<>(capacity);
|
warpColumns = new ConcurrentClockCache<>(Math.max(1, capacity >> 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
Owner owner(Object fieldKey) {
|
Owner owner(Object fieldKey) {
|
||||||
|
|||||||
Reference in new issue
Block a user