Jigsaw is faster

This commit is contained in:
Daniel Mills
2021-07-28 23:32:14 -04:00
parent 6620d2d023
commit 959f96dd74
2 changed files with 25 additions and 13 deletions

View File

@@ -53,10 +53,10 @@ public class IrisObjectScale {
@Desc("If this object is scaled up beyond its origin size, specify a 3D interpolator")
private IrisObjectPlacementScaleInterpolator interpolation = IrisObjectPlacementScaleInterpolator.NONE;
private transient ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
private static transient ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
= new ConcurrentLinkedHashMap.Builder<IrisObject, KList<IrisObject>>()
.initialCapacity(64)
.maximumWeightedCapacity(64)
.maximumWeightedCapacity(1024)
.concurrencyLevel(32)
.build();