That mod basically allows making really big chests, but has a chest inventory size cap of 1000 slots. Nonetheless, I've noticed that my UPS went down significantly over time (constant 8 UPS is sure fun
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
That prompted me to test if that is related. I:
1. Started Factorio (1.1.32, from Steam, Linux) with only that mod enabled;
2. Changed the cap in mod settings from 1000 to 65535 (maximum possible);
3. Started map editor on freeplay, placed two 40x40 chests from the mod next to each others, with powered stack inserters going both ways inbetween.
4. Set time speed to 64x and started it, got about 3800 UPS.
After that I loaded a stack of steel chests into one of them. UPS instantly dropped to about 600 - a 7-fold performance drop!!
I mean, I understand that moving stuff between two chests with 65535 slots isn't a realistic benchmark, but I nonetheless feel like it could be very well improved. Both chests only ever had their first slot disturbed, since there's only 1 slot worth of items running around total - how come the other 65534 slots without anything slow it down this much? I'd imagine that even in vanilla, in some cases, 47 empty slots of a steel chest have a lesser yet still similar impact lol
I understand if it's unreasonable to optimize it considering only vanilla, or considering that it may probably take significant effort better spent doing other stuff, but I nonetheless wish this would be optimized.
To think of it - isn't a lane of a conveyor belt and a line of chest item slots kind of functionally similar? Maybe chests could be optimized in the exactly the same vein as conveyor tracks? Or maybe just internally scale the inventory as items go in/out until it hits the limit that it's supposed to have, so no issues would arise from a ton of empty slots?