mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 11:09:06 +00:00
Experimental Speedy things with New java
This commit is contained in:
@@ -31,8 +31,8 @@ import org.bukkit.block.Biome;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
public interface EngineMode extends Staged {
|
||||
public static final RollingSequence r = new RollingSequence(64);
|
||||
public static final RollingSequence r2 = new RollingSequence(256);
|
||||
RollingSequence r = new RollingSequence(64);
|
||||
RollingSequence r2 = new RollingSequence(256);
|
||||
|
||||
void close();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.bukkit.World;
|
||||
|
||||
@Data
|
||||
public class PlannedStructure {
|
||||
private static transient ConcurrentLinkedHashMap<String, IrisObject> objectRotationCache
|
||||
private static ConcurrentLinkedHashMap<String, IrisObject> objectRotationCache
|
||||
= new ConcurrentLinkedHashMap.Builder<String, IrisObject>()
|
||||
.initialCapacity(64)
|
||||
.maximumWeightedCapacity(1024)
|
||||
|
||||
@@ -37,7 +37,7 @@ import lombok.experimental.Accessors;
|
||||
@Desc("Scale objects")
|
||||
@Data
|
||||
public class IrisObjectScale {
|
||||
private static transient ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
|
||||
private static ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
|
||||
= new ConcurrentLinkedHashMap.Builder<IrisObject, KList<IrisObject>>()
|
||||
.initialCapacity(64)
|
||||
.maximumWeightedCapacity(1024)
|
||||
|
||||
@@ -13,7 +13,7 @@ public enum IrisMatterPlacementLocation {
|
||||
|
||||
private final Function3<IrisEngine, Integer, Integer, Integer> computer;
|
||||
|
||||
private IrisMatterPlacementLocation(Function3<IrisEngine, Integer, Integer, Integer> computer) {
|
||||
IrisMatterPlacementLocation(Function3<IrisEngine, Integer, Integer, Integer> computer) {
|
||||
this.computer = computer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user