Page 3 of 3

Re: Save game size reduction

Posted: Mon Sep 20, 2021 9:22 pm
by Cjkjvfnby
Geoff the Medio wrote: Sun Sep 19, 2021 3:19 pm But a case of just 3 visibility levels, the map probably is not really beneficial, you're right. If you're really keen on switching it, we can, but I wouldn't prioritize it otherwise.
These are just optimization suggestions. We have a problem and I try to brainstorm the solution. Then you start digging something sooner or later you will get some results.

I think the most perspective is replacing base64 with the zip archive. It is relatively easy to implement (a small number of modules affected). This will simplify code (we could always zip, because it's easy to unpack, so no need to maintain 2 savegame versions).

But these are only my thoughts, based on a lack of knowledge on how C++ code should be optimized.