SLAU132Y September 2004 – June 2021
To balance the tradeoff between code size and speed, use the --opt_for_speed option. The level of optimization (0-5) controls the type and degree of code size or code speed optimization:
Optimizes code size with a high risk of worsening or impacting performance.
Optimizes code size with a medium risk of worsening or impacting performance.
Optimizes code size with a low risk of worsening or impacting performance.
Optimizes code performance/speed with a low risk of worsening or impacting code size.
Optimizes code performance/speed with a medium risk of worsening or impacting code size.
Optimizes code performance/speed with a high risk of worsening or impacting code size.
If you specify the --opt_for_speed option without a parameter, the default setting is --opt_for_speed=4. If you do not specify the --opt_for_speed option, the default setting is 1