Will-o'-the-wisps


A glowing and moderately aggressive life form was found in the alien world as soon as night came.

Content
7 years ago
0.14 - 0.15
10
Enemies

g save/load time?

7 years ago

After exploring a large amount of the land around me, i started to have an extremely long auto-save/save/load time - disabling this mod seems to have fixed it...

before disabling the mod:
savefile: 29MB
saving: 20s
loading: 30s

after disabling the mod:
savefile: 28MB
saving: <2s
loading: <2s

re-enabling the mod with the new save immediately increased save/load times to 4s, a partial fix - though it wipes the items & tech.

6 years ago

As I've been looking at mod code when updating it, found that issue was most likely due to chunk (32x32 tile blocks) info duplication - at every on_configuration_changed point (mostly version changes for game or any mod) code was adding info on all generated chunks (can be around 10k tables or more) on top of existing pile.

Issue shouldn't affect first load, but will definitely make subsequent ones slower and bloat save sizes, esp. if you tinker with or update mods often.

New response