branchrust_reboot/main/naval_update/industrial_optimcancel
3 Commits over 0 Days - ∞cph!
Wrapped the new time tracking in editor defines
TC's now cache their allowed construction items in a ListHashSet for faster checks
Not really worth doing in normal circumstances but it seems common to have junk items attempting to transfer into a TC constantly, this saves about 0.01ms on each attempt
Added an Input and Output item list that is populated during a conveyor move, allowing us to read and write items faster without having to use GetSlot (which could potentially iterate over the whole container each call)
Restructure some of the iterators in IndustrialConveyor.Move to iterate over the item list directly instead of using GetSlot
This removes all usages of GetSlot in the conveyor move system which can be called over 3k times in a bad conveyor move
Added a shortcut for LookAtIOEnt to resolve what item a storge cotnainer is attached to when holding the wire tool, resolves the multi second freeze in the editor (was faster in builds, but this should still be faster)