Skip to content

Commit 38fb9bc

Browse files
author
Colin Robertson
authored
Update os-ot-favor-small-code-favor-fast-code.md
It's true that /Og is not required with /Os or /Ot anymore, and hasn't been for a long time. I think just removing that statement is enough for now.
1 parent 7f8e075 commit 38fb9bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docs/build/reference/os-ot-favor-small-code-favor-fast-code.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ Minimizes or maximizes the size of EXEs and DLLs.
2222

2323
**/Ot** (Favor Fast Code) maximizes the speed of EXEs and DLLs by instructing the compiler to favor speed over size. (This is the default.) The compiler can reduce many C and C++ constructs to functionally similar sequences of machine code. Occasionally, these differences offer tradeoffs of size versus speed. The **/Ot** option is implied by the Maximize Speed ([/O2](o1-o2-minimize-size-maximize-speed.md)) option. The **/O2** option combines several options to produce very fast code.
2424

25-
> [!NOTE]
26-
> **/Os** or **/Ot** only takes effect if code optimization is enabled. For more information on optimizations, see [/O1, /O2 (Minimize Size, Maximize Speed)](o1-o2-minimize-size-maximize-speed.md) or [/Ox (Enable Most Speed Optimizations)](ox-full-optimization.md).
27-
2825
> [!NOTE]
2926
> Information that is gathered from profiling test runs will override optimizations that would otherwise be in effect if you specify **/Ob**, **/Os**, or **/Ot**. For more information, [Profile-Guided Optimizations](../profile-guided-optimizations.md).
3027

0 commit comments

Comments
 (0)