Optimize at level level which must be between -9 and +9. Negative values of level optimize code space at the expense of speed, whereas positive values of level optimize for speed at the expense of code space. The ‘+’ sign for positive optimization levels is accepted but not required.

The exact strategies used by the compiler to perform the optimization will vary from release to release and are not described here.

Project property

Code Generation Options > Optimization Strategy