
DataStructium
is a optimization mod that, by using cache and more efficient data structure, speeds up operations on common data types
Optimizations in 1.7.0:
- faster Forge class scanning by skipping scanning of unused class data.
- caching numeric tags (NBTs) to decrease allocation.
- replace Map/Set in favor of some more efficient implementation.
- better hashing for
BlockPos
that does better in preventing collision. - faster Industrial Foregoing JEI StoneWork recipe gathering
- faster Masterful Machinery structure checking by caching intermediate results. For modpack E6E, MM structure checking can consume up to 10% of total server CPU resources, DataStructium made it 10 times faster (9.73% -> 0.81%)
- (1.1.0+) "Tiered" internal for CompoundTag
- (1.4.0+) Just Enough Resources spawn egg lookup is patched to be faster. Also JER has an NPE bug when loading JEI recipes, DataStructium fixed that
- (1.5.0+) KubeJS Resource Cache, to prevent walking files repeatly
- (1.6.0+) Farmer's Delight ToolIngredient initialization is optimized to save time wasted in creating ItemStack repeatly, and reduce memory allocation
- (1.7.0+) key interning for CompoundTag backend to further decrease memory usage
- (1.7.0+) Faster chunk section iterating, making client side chunk meshing and possibly other client/server chunk section-based operations faster