Page 1 of 1

Timing of auto-sort.

Posted: Wed Jan 29, 2020 3:48 pm
by betenner
Currently, the auto-sort function is called whenever the player's main inventory is changed.
It works well, but if the player's main inventory is changing a lot during a short time (such as deconstructing using robots), the game will become very laggy (fps drops a lot) due to the frequent calls to auto-sort function.
I suggest the auto-sort function is only called whenever the player opens the main inventory to improve the performance.

Re: Timing of auto-sort.

Posted: Thu Jan 30, 2020 4:53 pm
by ssilk
Never saw that behavior. Could you explain that a bit more? What amounts of changes we are speaking here? Have you tried turning mods off?

Re: Timing of auto-sort.

Posted: Fri Jan 31, 2020 6:15 am
by betenner
It only happens when using mod that gives the player a large inventory (such as 1000 slots) so that the inventory can held many items (which affect the performance of sorting).

Re: Timing of auto-sort.

Posted: Sat Feb 01, 2020 8:58 am
by ssilk
Got you! :D

No sure if that will be fixed.

Re: Timing of auto-sort.

Posted: Sat Feb 01, 2020 6:32 pm
by Honktown
Have you tried Manual Inventory Sorting? https://mods.factorio.com/mod/manual-inventory-sort

I assume that only sorts inventory when it is opened (the default option for the mod may be to only use buttons on the side which show up when inventory is open - no automatic sorting).