Re: [Algorithms] Complexity of new hardware
Brought to you by:
vexxed72
|
From: Alen L. <ale...@cr...> - 2009-04-21 06:05:08
|
Adrian wrote at 4/20/2009: >> IME for serialization compatibility in 99% cases you need member >> removing/adding/retyping members, and changing base classes. > Not sure if this was clear, but we don't need the multiple field shenanigans > in the simple cases either. Removing a field without preserving the data is > just a matter of deleting it. Yes, I understood it that way. The comment was aimed at "[Prop::SaveLoad()]", but I covered that better later, so it has become redundant. > forgetting to NOT serialize a field is a silent error that causes no harm > other than inefficiency and consequently will never be caught. I wouldn't consider it a potential to cause any significant inefficiency. In our codebase the temporary (non-serialized) fields are <1% in declarations and even way less in byte count. Btw, there is a large amount of classes that carry reflection info just for convenience of using it for dynamic type handling in the UI (windows, dialogs, etc.), but they are not serialized anyway, so we don't care what's the serialization flag on their members. IME, the largest percentage of file size (across all files in a project) is taken by POD arrays like textures, vertex arrays, etc. YMMV. Alen |