iphone - Speed of NSScanner vs NSXMLParser? -
I have an iPhone app that reads in the XML file, then dragging the required data by looping through an NSSKener . XML is not particularly long.
I am thinking that it would be worth the work to implement NSXLLPers instead of using the NSSCaner, if I see any real improvement in speed?
There is a good comparison article for various XML parsers:
Man 900kb (!!!) uses the XML file as a test sample, and the results are quite interesting: the NSXLL parser is the slowest, he said, I think NSXLL Parser has itself nsskener (or similar) + xml Use of extra processing for bells and whistles associated with them.
If your solution works well and makes it easy, then I do not have any special parser, although if you are planning to increase your XML usage, then maybe start using one Good idea.
Comments
Post a Comment