Thaumic Speedup Mod 1.12.2
MODThaumic Speedup is a performance mod designed for Thaumcraft 6 within Minecraft version 1.12.2. Its specific purpose is to address slow, allocation-heavy processes within Thaumcraft's aspect registration system, particularly in large modpacks where it scales poorly with thousands of recipes and items. It implements a reverse recipe index for aspect generation, which transforms the aspect derivation process from scanning the entire crafting registry per item to a more efficient fetch operation using an output stack to recipes index. This index is primarily built during startup and rebuilt lazily at runtime if necessary.
Thaumic Speedup is a performance mod designed for Thaumcraft 6 within Minecraft version 1.12.2. Its specific purpose is to address slow, allocation-heavy processes within Thaumcraft's aspect registration system, particularly in large modpacks where it scales poorly with thousands of recipes and items. It implements a reverse recipe index for aspect generation, which transforms the aspect derivation process from scanning the entire crafting registry per item to a more efficient fetch operation using an output stack to recipes index. This index is primarily built during startup and rebuilt lazily at runtime if necessary.
Additionally, the mod introduces allocation-free item identity hashing. Instead of Thaumcraft's method of copying, serializing to NBT, stringifying, and hashing an ItemStack for every aspect lookup, Thaumic Speedup directly hashes the item ID and item damage, with NBT included only when required. This significantly reduces allocations. The mod also provides cleaner routing for Thaumcraft's deprecated static API calls by directing them through a singleton event proxy.
