This option instructs the compiler to perform optimizations to reduce execution time at the expense of a possible increase in image size.
Use this option if execution time is more critical than code size. If required, you can compile the time‑critical parts of your code with ‑Otime, and the rest with ‑Ospace.
If you do not specify ‑Otime, the compiler assumes ‑Ospace.
When the -Otime option is selected, the compiler compiles:
while (expression) body;
as:
if (expression)
{
do body;
while (expression);
}