Large Inventory Lagg
carlosamegos opened this issue · 2 comments
Minecraft version & Mod Version:
1.12.2-1.8.0
Single player or Server:
Server
Describe problem (what you were doing / what happened):
Whenever somebody hooks up a massive inventory (eg. 15k slots from colossal chests) and tries to export, the server really struggles. It's the same case when a user has a massive inventory and just tries to take some items out manually.
It seems like whenever an export/withdraw is made, the simple storage looks through every single slot before finally providing the item.
I think there would be a major improvement if it stopped searching as soon as it found the item + quantity it needs, and if it started it's search with the highest priority storage and worked it's way along.
When i remove these three exactly the same configured Export Cables connected to hoppers that are connected to Improved Blast Furnaces from that network the tick usage of one TileMaster gets down around 300µs.
Same with the other network on the server, if i remove all Export Cables the tick usage goes down to 71µs.