On Monday, 4 March 2013 at 04:15:41 UTC, bearophile wrote:
John Colvin:

First things first:
You're not just timing the multiplication, you're timing the memory allocation as well. I suggest using http://dlang.org/phobos/std_datetime.html#StopWatch to do some proper timings in D

Nope, what matters is the total program runtime.

Bye,
bearophile

The performance of the multiplication loops and the performance of the allocation are separate issues and should be measured as such, especially if one wants to make meaningful optimisations.

Reply via email to