Problems with dmd inlining

Walter Bright newshound2 at digitalmars.com
Sat Dec 11 22:20:49 PST 2010


Jason House wrote:
> I wish I had your problems. I ported a sizable set of C++ code to D2 and
> discovered D2 with dmd was 50x slower than C++ with gcc! I've been to
> busy/disappointed to track down the bug(s) causing such a slowdown. If anyone
> is sufficiently inspired to find the bugs, I can make the GPL source code
> available.
> 

50 times slower is not likely to be a problem with inlining, it's likely to be 
an algorithmic one.


More information about the Digitalmars-d mailing list