Chapter 5

Tune Your App Using Algorithms and Data Structures

In this chapter, you will learn about:

  • How bad algorithms and data structure can affect your app's performance.
  • Theoretical issues of measuring your algorithms.
  • Practical measurement of your app's performance.
  • Main data structures and algorithms:
    • iPhone data structures: NSSet, NSArray, and NSDictionary.
    • Other important data structures and their implementations.
    • Other algorithms and problem-solving approaches:
      • Recursion
      • SAX vs. DOM in XML parsing

You may hear that in mobile phone development you don't need to worry about algorithms and data structure due to the computing power of the server side. However, as mentioned with regards to caching issues in the previous chapter, especially ...

Get Pro iOS Apps Performance Optimization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.