As for tips that are not directly related to XML parsing, but it will still help you in this task:
- Parsing in the background thread can easily help you. With GCD, you can also prioritize the stream.
- You can use the technique of this Apple document. On page 14 you can read:
Using the ForSelector method: to bypass dynamic binding, most of the time required for messaging is saved. However, the savings will be significant only when a particular message is repeated many times, as in the for loop shown above.
I really used this method when setting the value for an array of objects, and I was able to get an improvement of 0.7 seconds. Maybe not a lot, but in more difficult and repetitive tasks I really think that this will change the situation.
Peres source share