Finding large difference b/w execution time of c++ and D codes for same problem

FG home at fgda.pl
Tue Feb 12 15:32:05 PST 2013


On 2013-02-13 00:06, Sparsh Mittal wrote:
>
>> I had a look, but first had to make juliaValue global, because g++ had
>> optimized all the calculations away.
>
> Brilliant! Yes, that is why the time was coming out to be zero, regardless of
> what value of DIM I put. Thank you very very much.

LOL. For a while you thought that C++ could be that much faster than D?  :D


More information about the Digitalmars-d-learn mailing list