Use FastUtil Long/Int HashMap's

For DataWatcher, swap out plain Integer key HashMap for a Int2ObjectOpenHashMap
For ChunkProviderServer, swap out CB's custom LongHashMap with Long2ObjectOpenHashMap

These collections are super fast as seen
http://java-performance.info/hashmap-overview-jdk-fastutil-goldman-sachs-hppc-koloboke-trove-january-2015/
This commit is contained in:
Aikar
2016-03-30 02:10:27 -04:00
parent 50811b1ca5
commit fb94038453
2 changed files with 57 additions and 1 deletions

File diff suppressed because it is too large Load Diff