Changing -O to be equivalent to -O3
Marco Leise
Marco.Leise at gmx.de
Sun May 26 17:53:57 PDT 2013
Am Sun, 17 Mar 2013 19:33:54 +0100
schrieb "David Nadlinger" <see at klickverbot.at>:
> See: https://github.com/ldc-developers/ldc/pull/315
>
> Any further opinions?
>
> David
My opinion is to benchmark. How much longer is the compile
time? How many programs benefit? How many bad cases are there
where the optimizations slow down the executable by excessive
unrolling or similar?
Last time I tried LDC's optimizations I saw a minor slowdown
in one program, and overall little gain (compared to the more
substantial gains of -O3 in GDC).
--
Marco
More information about the digitalmars-d-ldc
mailing list