It seems to me it'd be easier to just use a .txt file.
Will there be any notiable speed increase by using .xml instead? I have a 1.9ghz computer, so even with a lot of information to load up, would it matter?
How much faster is XML compared to loading regular .txt
-
Wolf Dreamer
- Posts: 121
- Joined: Tue Feb 10, 2004 6:39 am
- Location: the land of chaotic dreams
- Contact:
How much faster is XML compared to loading regular .txt
The last sane human being in a world gone mad
http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
-
Peter Müller
- Posts: 292
- Joined: Sun Mar 14, 2004 5:28 pm
- Location: Germany
- Contact:
It will only make a little speed difference, if you phrase an XML file instead of an text source.
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
Are you sure ? I think parsing normal text files is faster than XML ones.
Tomasz Nowakowski
Openoko - www.openoko.pl
Openoko - www.openoko.pl
-
Peter Müller
- Posts: 292
- Joined: Sun Mar 14, 2004 5:28 pm
- Location: Germany
- Contact:
Of cause it's faster, but normally you load only some times something out of an xml file.
And on an 1.9GHerz system it doesn't matter, if you don't phrase the file every frame.
And on an 1.9GHerz system it doesn't matter, if you don't phrase the file every frame.
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer