Tuned cache values.

This commit is contained in:
Harrison Deng 2020-04-26 16:05:52 -05:00
parent b769c83be1
commit ed4996ff9f

View File

@ -32,8 +32,8 @@ public class BiomePerIslandGenerator implements IslandBiomeGenerator {
public BiomePerIslandGenerator() { public BiomePerIslandGenerator() {
this.temperatureMapGenerator = new TemperatureMapGenerator(); this.temperatureMapGenerator = new TemperatureMapGenerator();
chunkBiomesCache = new Cache<>(1024); chunkBiomesCache = new Cache<>(4096);
chunkGenStatusCache = new Cache<>(1024); chunkGenStatusCache = new Cache<>(4096);
freshCachePropInfo = new FreshCachePropagationInfo(); freshCachePropInfo = new FreshCachePropagationInfo();
freshCachePropagator = new DepthFirstSearch(freshCachePropInfo); freshCachePropagator = new DepthFirstSearch(freshCachePropInfo);
existenceInfo = new PreviousGenerationInfo(); existenceInfo = new PreviousGenerationInfo();