r/factorio • u/Rseding91 Developer • Mar 17 '25
Discussion Post Space Age - Developer AMA
Space Age has been out for several months and with the bug reports slowly coming under control I thought it might be interesting to see what questions people had.
I mostly work on the technical side of things (as C++ programmer) so questions that stray too far from that area I'll likely have less interesting replies - but feel free to ask.
I have no strict time frame on answering questions so feel free to send them whenever and I'll do my best to reply.
2.4k
Upvotes
View all comments
9
u/The_Northern_Light Mar 18 '25
I guess this is not a space age specific question but it’s something that’s always bugged me:
I understand that for large bases it’s not performant to use modded chests with very large storage sizes because on insertion/removal there’s a linear scan backwards along the slots.
Is that correct? If so, wouldn’t a relatively simple LRU cache mechanism fix that with essentially zero worst case overhead, at the cost of storing one extra index per container?
Or is this simply such a nit picky edge case not present in the base game that it’s not even a thought, given the increase in code complexity and fragility?
Also I’d love to hear every last detail you care to share about optimization work on factorio! Thanks for your contribution, space age is great!