Cache AESharedItemStack#hashCode() for performance improvements
yueh opened this issue ยท 1 comments
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.