branchrust_reboot/main/industrial_perf_improvementscancel
8 Commits over 0 Days - ∞cph!
Revert successCount change to original behaviour
Added debug.conveyorStrictModeReport convar, prints out the location of all conveyors currently in strict mode
industrialTransferStrictTimeLimits is now per conveyor - if a conveyor takes an unacceptable amount of time to do a transfer it will be placed in strict mode for 2 minutes and it's movements throttled
This allows regular conveyors to operate as normal while still restricting the impact of problematic conveyors
Still requires industrialTransferStrictTimeLimits to be enabled, it's now enabled by default
Fixed industrialTransferStrictTimeLimits not working in builds
Revert some changes from this branch to restore conveyor functionality
Better early outs when moving items that can stack, also fixed some issues with the early outs for non stackable items
Some server industrial conveyor performance improvements
-Cache at the start of a run if an output has empty slots, that way if an item isn't stackable we can immediately rule out the entire container instead of iterating over the whole thing
-Compare slots by item id rather than object comparer
-maxItemStacksMovedPerTickIndustrial convar is now enforced across an entire conveyor move operation rather than per input (this will slow industrial systems down, we may want to evaluate raising the default convar from 12)
These changes take a problematic conveyor configuration from 670ms to 12ms processing time