Possible Duplicate:
What is the fastest XML parser in PHP?
I still need to maintain the xml format, but I'm finding that my main bottleneck is the many calls I make to simplexml_load_file();
Possible Duplicate:
What is the fastest XML parser in PHP?
I still need to maintain the xml format, but I'm finding that my main bottleneck is the many calls I make to simplexml_load_file();
simplexml_load_file
itself is not that slow. The problem is the I/O that it causes, which will be expensive. Using a different method to parse your XML files won't make it much faster.
You can try to optimize your program to need to open the xml file less often or you could think about another way of saving your data, for example in a database to speed up the process.