4.1.3 /optimize, /o, (/optimize=5)

The /optimize qualifier sets the base optimization and code analysis level, ranging from 0 (no optimization) to 5 (maximum optimization). The optimization level can also be modified on a loop-by-loop basis by the C*$* optimize (<integer>) directive. Some of the code analysis techniques can be enabled with the /scalaropt qualifier.

The meaning of each of the different optimization levels is as follows. Each optimization level is cumulative, for example, level 4 performs what is listed below for that level, in addition to what is listed for levels 0-3.

A higher optimization level results in more optimization, more analysis, and more ambitious transformations, along with increased compilation time.

Previous Page Next Page Contents Index
Command-Line Qualifiers