Optimize my code =)
bearophileHUGS at lycos.com
Tue Feb 18 00:50:22 PST 2014
>>> LDC yields roughly the same times.
>> This is surprising.
> To me as well. I haven't yet tried to dig deep though.
I have compiled your code with (a single module, 32 bit Windows):
dmd -wi -vcolumns -O -release -inline -noboundscheck matrix3.d
ldmd2 -wi -O -release -inline -noboundscheck matrix3.d
Time required: 4 secs, 665 ms, 452 ╬╝s, and 2 hnsecs
Time required: 2 secs, 522 ms, and 747 ╬╝s
More information about the Digitalmars-d-learn