Discussion:
[Freecol-developers] fcgo serialization and sorting
Enrico Weigelt, metux IT consult
2017-02-14 03:23:07 UTC
Permalink
Hi folks,

I've seen lots of places where child lists (eg. Colony's WorkLocation's)
are sorted before serialization.

Is this really required ?


--mtx
Michael T. Pope
2017-02-14 10:44:34 UTC
Permalink
On Tue, 14 Feb 2017 04:23:07 +0100
Post by Enrico Weigelt, metux IT consult
I've seen lots of places where child lists (eg. Colony's WorkLocation's)
are sorted before serialization.
Is this really required ?
No and yes. It is not required for FreeCol to function. However, believe
me, if you are debugging the client-server comms and/or savegame
corruption, having a canonical form enforced is a *priceless* time saver.

Cheers,
Mike Pope

Loading...