is D so slow?

baleog maccarka at yahoo.com
Sun Jun 15 04:33:50 PDT 2008


Tomas Lindquist Olsen Wrote:
 
> What switches did you use to compile? Not much info you're giving ...

Ubuntu-6.06
dmd-2.0.14 - 40sec witth n=500
dmd -O -release -inline test.d
gdc-0.24 - 32sec
gdmd -O -release test.d
and gcc-4.0.3 - 1.5sec
gcc test.c

so gcc without optimization runs 20 times faster than gdc
but i can't find how to suppress array bound checking

> 
> Tomas



More information about the Digitalmars-d-learn mailing list