The State of LDC on Windows

Marco Leise Marco.Leise at gmx.de
Wed Jun 5 20:03:23 PDT 2013


Am Thu, 06 Jun 2013 03:47:58 +0200
schrieb "bearophile" <bearophileHUGS at lycos.com>:

> When I want optimizations with this ldc I have used "-release 
> -profile-verifier-noassert -O5". Is this good enough?
> I don't know why ldc2 doesn't have "-noboundscheck".

As fas as I know O4/O5 is currently not implemented and
often putting -O (meaning -O2) is just as good as -O3.
-release already disables bounds-checks like id does in dmd
for non- at safe code. That said, every option that has an
"enable" flag can be inverted:

-enable-boundscheck becomes -disable-boundscheck

Yes, your set of options is ok. :)

-- 
Marco



More information about the Digitalmars-d mailing list