Tuesday 30 April 2013

libxml2 vs NSxmlParser

Libxml2 is c base and NSxmlParser is a real cocoa class. Libxml2 is always faster than NSxmlParser in terms of performance. 

If performance is an is an issue, you should definitely use libxml2, but if you are only prosessing a small amount of data NSxmlParser is a better solution. NSxmlparser it ismuch easier to implement and understand.

written by: infinitywebseo  


1 comment:

  1. hi Zahra i have a siily doubt , what is the small amount data limit for nsxmlparser.

    ReplyDelete