Optimize my code =)

bearophile bearophileHUGS at lycos.com
Tue Feb 18 00:54:05 PST 2014


Stanislav Blinov:

> allocationTest ...
>         Time required: 1 sec, 112 ms, 827 μs, and 3 hnsecs
> multiplicationTest ...
>         Time required: 1 sec, 234 ms, 417 μs, and 8 hnsecs

Physics teaches us that those experimental measures are expressed 
with a excessive precision. For such benchmarks it's more wise to 
write "1.11" seconds.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list