[Issue 17577] 20%+ Performance degradation in std.conv.to due to 'import std.getopt'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 29 18:34:46 PDT 2017


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

--- Comment #3 from Jon Degenhardt <jrdemail2000-dlang at yahoo.com> ---
Properly adding -inline to the DMD compiler line eliminates the degradation in
the DMD builds, at least in 2.075.0-b1. (I deleted 2.074 when updating to
beta-1.)

The updated table:

|                | Without       | With          |
| Compiler       | getopt import | getopt import |
|----------------+---------------+---------------|
| DMD 2.075.0-b1 |          5.00 |          4.98 |
| LDC 1.2        |          4.27 |          6.06 |
| LDC 1.3        |          3.61 |          4.63 |

--


More information about the Digitalmars-d-bugs mailing list