C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Optimizing for Time (/O, /Ot)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     When you do not use any of the /O options, the CL command
     automatically optimizes for program execution speed. The /O and
     /Ot options have the same effect as this default.
 
     Wherever the compiler has a choice between producing smaller (but
     perhaps slower) or larger (but perhaps faster) code, the compiler
     generates faster code. For example, when you specify the /Ot
     option, the compiler generates either library calls to the
     operating system or inline code to perform shift operations on
     long operands.
                                    -♦-