Latency issues using NSXMLParser
I am using NSXMLParser to parse an XML file that I get from the server. When I migrated the application from the simulator to the device I noticed latency issues while on the Edge and 3G networks. My next option is to use libxml2 which is faster and supports incremental processing. However, one of the disadvantages of using libxml2 is that the code size is much larger than the code required to use NSXMLParser. In the event I do not get substantial improvement in performance there is another library I can use - MPWSAXParser but it lacks documentation / code examples which shows me how to use MPWSAXParser.
Has anyone else run into latency issues while parsing XML files and which libraries did you use to work around these issues?
Thanks in advance.
|