13
0
geforkt von Mirrors/Paper
Commit graph

2 Commits

Autor SHA1 Nachricht Datum
Aikar
97e083b9b0 Setting the cache is important to access a cache 2016-03-22 23:44:35 -04:00
Aikar
95b9e1e6f2 Optimize Chunk Access
getting a loaded chunk is one of the most hottest pieces of code in the game.
Often, getChunkAt is called for the same chunk multiple times in a row, often
from getType();

Optimize this look up by using a Last Access cache.
2016-03-22 01:46:32 -04:00