[Issue 13193] Extreme slowdown in compilation time of OpenSSL in Tango for optimized build

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 27 15:46:03 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13193

--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Kenji Hara from comment #5)
> (In reply to Kenji Hara from comment #4)
> > Introduced in: https://github.com/D-Programming-Language/dmd/pull/2561
> 
> This is performance issue of dmd backend codegen, because it does not occur
> with -o- switch.

Thanks for tracking down the cause.

The optimizer is not designed to run fast, it is designed to build the fastest
code. What #2561 did is heap a whole extra heaping helping of code into the
optimizer to optimize. Hence the slowdown. #2561 needs to be revisited.

#2561 was an attempt to fix:

https://issues.dlang.org/show_bug.cgi?id=10985

--


More information about the Digitalmars-d-bugs mailing list