Efficient Storage BETA VERSION


A companion mod to UPS-intensive warehouses. Makes them more friendly to inserter logic. Desinged as a more "vanilla" alternative to Memory Storage.

Utilities
3 days ago
1.1
30
Storage
Owner:
protocol_1903
Source:
https://github.com/protocol-1903/effi...
Homepage:
N/A
License:
MIT
Created:
14 days ago
Latest Version:
0.1.2 (3 days ago)
Factorio version:
1.1
Downloaded by:
30 users

BETA VERSION: CAN BREAK SAVES

longer description to be made later :)

TECHNICAL DESCRIPTION

When inserters check a container, they need to check every single slot for items. If the slot is locked (red bar in chests) then it still needs to be checked when an inserter is removing items, but not inserting. This mod attempts to remedy that issue by reducing the container size to a more reasonable amount. Normal containers have a search complexity of o(n) where n is the number of slots in the container. This mod reduces that to o(2). Currently it only supports single-item storage alternatives, but I will eventually add support for multi-item storage. That complexity will be o(2*r) where r is the number of different items. I will probably test and limit the number of different items based on the diminishing returns of the system.

If anyone has suggestions for how to make the system faster and more efficient, you are welcome to open a PR or leave a comment.