Skip to content
Success

Changes

Summary

  1. Optimize Navigation Listener (details)
Commit 04266858e3436dafcb20eba5ae3c9f6d63a7c5a9 by md_5
Optimize Navigation Listener
Replace WeakHashMap with an ArrayList and manually manage object
lifecycle. Gives superior iteration performance at a slight cost to
removal performance and also ensures entities are removed immediately
upon losing their validity within the world.
Additionally, change listener registration to be done upon world add
instead of immediate up creation. This provides benefit of only
registering and ticking real Navigation objects, and not invalid
entities (cancelled entity spawns for example).
The file was addedCraftBukkit-Patches/0150-Optimize-Navigation-Listener.patch
The file was modifiedCraftBukkit-Patches/0003-mc-dev-imports.patch