[Issue 11859] Slow compilation with -O with dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 2 08:50:52 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11859



--- Comment #1 from bearophile_hugs at eml.cc 2014-01-02 08:50:48 PST ---
(In reply to comment #0)
> but it takes more than one hour (I have
> measured about 68 minutes on the same PC) if I add the "-O" switch.
> 
> The same program with ldc2 "ldmd2 -release -noboundscheck" compiles in about
> 1.9 seconds, and in 6.9 seconds if I add "-O".

It means dmd here compiles about 600 times slower than ldc2, despite ldc2
optimizes more the program.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list