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:
45209
Spigot-API-Patches/Add-minimal-fastutil-int-long-based-collections.patch
Normal file
45209
Spigot-API-Patches/Add-minimal-fastutil-int-long-based-collections.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user