Inexplicable LDC vs GDC speed difference

Iain Buclaw ibuclaw at ubuntu.com
Fri Feb 22 11:03:07 PST 2013


On 22 February 2013 18:59, Joseph Rushton Wakeling <
joseph.wakeling at webdrake.net> wrote:

> On 02/19/2013 09:34 AM, Johannes Pfau wrote:
>
>> I posted this to our bugzilla, I'm not sure if I'll have the time to
>> look at this one.
>>
>> http://gdcproject.org/**bugzilla/show_bug.cgi?id=37<http://gdcproject.org/bugzilla/show_bug.cgi?id=37>
>>
>
> Just to note -- with your pull request #50 now included in GDC, things
> speed up very slightly.  Removing the const from the Julia value code,
> results become comparable to g++ and the C++ implementation (i.e. about 4.3
> s for the 'double' case).
>
> LDC still produces a faster executable for this particular code, but then,
> clang++ also produces a faster executable than g++.
>


Cool, cheers for checking.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130222/e50afd02/attachment.html>


More information about the D.gnu mailing list