Re: XML was RE: [GD-General] RE: A portable preferences library
Brought to you by:
vexxed72
From: Alen L. <ale...@cr...> - 2003-12-16 11:42:06
|
> We use XML a lot in Crystal Space (http://crystal.sf.net). It does tend > to give very > big files but we also found that it doesn't matter. Just how big that is? Can you please compare size of a mesh in XML format to the same mesh in, say, .3ds or .lwo? > CS supports reading > from ZIP files > so map files are usually placed in compressed archives. XML compresses very > well (due to the high redundancy) so the size disadvantage nearly completely > disappears in that case. Can you also please compare size of a zipped XML mesh and a zipped .3ds, or .lwo or similar format of the same mesh? Also, in case that zipping really does remove the redundancy well enough to allow us to ignore the size difference, did you check your effective loading throughput? Meaning how much MB/sec can you read from the disk. To make sure that the parser is not slowing your loading. Ideally, you should be limited by the transfer rate of the disk, not by the CPU. Please bear with me here... I have no problems with converting, but I must make sure that it is _the_ true religion. ;) Thanks, Alen |