Over the past week I have been developing a Twitter iPhone client. This week I finished the client and am looking forward to submitting the application to Apple's iTunes Store for review. I decided that even thought I am a few days off my self-imposed schedule, I am going to take a few more days and refactor some code.
The main reason for this is the slow performance of using NSXMLParser for parsing the XML document. At some times during loading NSXMLParser will take up to 40 seconds to begin and process a relatively small document. Those speed are unacceptable and are forcing the re-write of the XML section of the application.
The solution that I have been researching and which might appear to work better would be to use libxml. This library is available on the iPhone and should give me the speed increase that I am looking for to parse the data. I will begin working putting in a the new library for parsing tonight and hopefully have it testing by early tomorrow morning.
© 2009-2010 by Steven Henry. All rights reserved.