[Issue 14498] Poor codegen optimization for ranges
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 25 16:41:04 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14498
weaselcat <r9shackleford at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r9shackleford at gmail.com
--- Comment #1 from weaselcat <r9shackleford at gmail.com> ---
Upon closer inspection, I believe this is an inlining issue, possibly related
to cross-module inlining. If I move the function to another file, LDC achieves
similar performance as GDC - but it goes away with singleobj flag.
this kills range performance.
coincidentally, on arch linux LDC is the only compiler that doesn't use a
statically linked phobos. Maybe related?
--
More information about the Digitalmars-d-bugs
mailing list