Introduction to Code Size Performance Guidelines

Guidelines for reducing the size of an application binary.

Organization of This Document

This programming topic contains the following articles:

Overview of the Mach-O Executable Format describes how to use the organization of the Mach-O executable format to improve the efficiency of your code.

Managing Code Size describes several compiler options that you can use to reduce the overall size of your executables.

Improving Locality of Reference describes how to profile and reorganize your code to improve loading times for code segments.

Reducing Shared Memory Pages describes ways to reduce the size of your __DATA segments.

Minimizing Your Exported Symbols shows how you identify and eliminate unnecessary symbol information in your code.

Next

Copyright © 2003, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-03-10