How much faster is XML compared to loading regular .txt

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
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

Post by Wolf Dreamer »

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?
The last sane human being in a world gone mad

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:

Post by Peter Müller »

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
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

Are you sure ? I think parsing normal text files is faster than XML ones.
Tomasz Nowakowski
Openoko - www.openoko.pl
Peter Müller
Posts: 292
Joined: Sun Mar 14, 2004 5:28 pm
Location: Germany
Contact:

Post by Peter Müller »

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.
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
Post Reply