04.05.2015, 16:25
Write your own parser. :P (or try other ones, there are a few includes). Depending on your XML reader it might just be the plugin itself being that slow. Some of them read & process the complete file with all sections, though there are just the half of the information needed.
I've done a MTA parser (which works with getchar) that loads about 20k objects quite quickly (compared to the mass of data).
Btw how long does loading take for you? Does the reader open/close the XML file with every xml_get_int? Closing/Opening takes its time too, especially for older harddrives.
I've done a MTA parser (which works with getchar) that loads about 20k objects quite quickly (compared to the mass of data).
Btw how long does loading take for you? Does the reader open/close the XML file with every xml_get_int? Closing/Opening takes its time too, especially for older harddrives.