Paper/nms-patches/EntitySliceInnerClass1.patch
Thinkofdeath ee6d0fa938 SPIGOT-591: Optimize EntitySlice.iterator
Previously if the key 'this.c' was missing a new hashmap was created, this
caused thousands to be created each tick
2015-02-20 10:19:11 +00:00

11 lines
411 B
Diff

--- ../work/decompile-8eb82bde/net/minecraft/server/EntitySliceInnerClass1.java 2015-02-20 10:18:41.853023875 +0000
+++ src/main/java/net/minecraft/server/EntitySliceInnerClass1.java 2015-02-20 10:18:41.853023875 +0000
@@ -3,6 +3,7 @@
import com.google.common.collect.Iterators;
import java.util.Iterator;
+// PAIL: Access transform
class EntitySliceInnerClass1 implements Iterable {
final Class a;