[optim] DataWatcher.watchedObjects type replaced from TIntObjectHashMap to fixed-size array
It is both CPU and memory optimization. Maximum index - 31, so array size is 32. It less than usual has table in TIntObjectHashMap
1 parent cc53368 commit 6f9fc19912f84d238c3a4193140c12341a521a98
@vlad20012 vlad20012 authored on 13 Feb 2016
Showing 1 changed file
View
src/main/java/net/minecraft/entity/DataWatcher.java