Problems with dmd inlining

Simen kjaeraas simen.kjaras at gmail.com
Sun Dec 12 15:06:17 PST 2010


Jason House <jason.james.house at gmail.com> wrote:

> Craig Black Wrote:
>
>> > One more thing - to clarify, Craig, are you implying that it's  
>> acceptable
>> > for performance to be within 20%? If not, there are tweaks on the
>> > algorithmic side we can do to improve sorting.
>>
>> 20% slower would be acceptable if I didn't have to do my own inlining.
>> Closing the gap even more would be nice.  Twice as slow is not  
>> acceptable.
>>
>> -Craig
>
> 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.

If no-one else has stepped up, I'm willing to have a look.

-- 
Simen


More information about the Digitalmars-d mailing list