Commit Graph

5 Commits

Author SHA1 Message Date
Aikar a308ede0bb 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).
2016-03-19 17:49:22 -05:00
md_5 de235263df SPIGOT-1964: Remove 1.9.1 patch 2016-03-18 21:35:37 -05:00
md_5 409596021c SPIGOT-1953: Don't copy NavigationListener Map on Iteration. 2016-03-17 23:31:20 -05:00
md_5 907e323aa6 Patch rebuild. 2016-03-03 03:46:56 -06:00
md_5 adb92a86db Update to Minecraft 1.9 2016-03-03 03:46:48 -06:00
Renamed from CraftBukkit-Patches/0002-mc-dev-imports.patch (Browse further)