Invasive Optimizations
Invasive optimizations for other mods. If you experience any issues, disable this mod first!
Invasive Optimizations
Invasive Optimizations

Invasive optimizations for other mods, aiming to reduce server-side (tick) lag. The invasive nature of these changes makes them more likely to crash or otherwise break. Please report such issues to the issue tracker and I will try to respond to them in a timely manner. Each change can also be individually toggled through the config and should solve any issues temporarily while you wait for a fix.
Most of the optimizations implemented are Merge/Pull Requests that I opened but have yet to be merged.
Current optimizations:
- Botany Pots - `botanypots.hopper_insertions`: Hopper Botany Pot exponential insertion backoff and emptiness tracking (PR) - Pipez (Also see Pipez Lag Fix by AlmanaX21 for exponential backoff) - `pipez.constant_fullness_checks`: Turns connection/inventory fullness into O(1) operations - `pipez.early_exits`: Reduces unnecessary work done by exiting targeted functions early if the right conditions are met - `pipez.extract_looped_work`: Move some work out of loops to avoid duplicated work - `pipez.nbt_comparisons`: Drastically improves performance of NBT comparisons by minimizing serialization/deserialization operations - `pipez.stream_abuse`: Reduces abuse of Streams in hot paths to reduce allocation rate (PR)