# Ot

Enables all speed optimizations.

## Syntax

Linux: | None

macOS: | None

Windows: | /Ot

## Arguments

None

## Default

/Ot | Optimizations are made for code speed. If Od is specified, all optimizations are disabled. If O1 is specified, Os is the default.

## Description

This option enables all speed optimizations.

## IDE Equivalent

Visual Studio: Optimization > Favor Size or Speed (/Ot, /Os)

## Alternate Options

None

Parent topic: Optimization Options

## See Also

O compiler option
Os compiler option