Re: XML was RE: [GD-General] RE: A portable preferences library
Brought to you by:
vexxed72
From: Jorrit T. <Jor...@uz...> - 2003-12-16 12:40:32
|
Gareth Lewin wrote: >>We have no performance problems at all related to XML. The >>XML parsing >>is only a fraction >>of the total cost. >> >> >> > >The total cost of what ? > Of game loading. i.e. XML parsing is negligable compared to all the rest that has to be done. > Game data files should be stored (in the final >form) in a form that requires as little parsing as possible. This makes >level loading significatly faster, reduces memory overhead (you have to >start pre-caching earlier) etc etc. > > Well that means we have to duplicate all loader code which is something we are not going to do. This approach is much nicer. However, CS does support binary XML though. This doesn't appear to give a lot of benefit so we don't use it by default. Greetings, |