Slow performance compared to C++, ideas?

Iain Buclaw ibuclaw at ubuntu.com
Sun Jun 2 04:10:14 PDT 2013


On 2 June 2013 12:05, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 06/02/2013 11:32 AM, finalpatch wrote:
>> The flags I used
>> OSX LDC: -O3 -release
>> WIN GDC: -O3 -fno-bounds-check -frelease
>
> Does adding -inline make a difference to initial performance (i.e. before your
> manual interventions)?  I guess it's already covered by -O3 in both cases, but a
> while back I did notice some differences in "default" LDC and GDC performance
> that seemed to relate to inlining.

-O3 is covered in the GDC case (turns on -finline-functions).


--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list