Applied Energistics 2

Applied Energistics 2

156M Downloads

Cache AESharedItemStack#hashCode() for performance improvements

yueh opened this issue ยท 1 comments

commented

AESharedItemStack#hashCode() can easily be cached due to being an immutable class.

For simple itemstacks it most likely won't be a noticable improvement, but computing the hashcode for nbt tags can be quite taxing and the hashcode is pretty much used anywhere in AEs internal data structures.

commented

Can we get a new publish version with that fix?