Commit graph

5 commits

Author SHA1 Message Date
Aikar
04266858e3 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 19:37:46 +11:00
md_5
cce4667dd0 SPIGOT-1964: Remove 1.9.1 patch 2016-03-19 08:38:35 +11:00
md_5
095e59a49a SPIGOT-1953: Don't copy NavigationListener Map on Iteration. 2016-03-18 14:41:42 +11:00
md_5
b78dfbc207 Patch rebuild. 2016-03-01 11:23:45 +11:00
md_5
7d15d07c92 Update to Minecraft 1.9 2016-03-01 09:33:00 +11:00
Renamed from CraftBukkit-Patches/0002-mc-dev-imports.patch (Browse further)