How to tune numerical D? (matrix multiplication is faster in g++ vs gdc)
bearophile
bearophileHUGS at lycos.com
Mon Mar 4 07:44:39 PST 2013
John Colvin:
> 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.
If you want to improve the D compiler, druntime, etc, then I
agree you have to separate the variables and test them one at a
time. But if you are comparing languages+runtimes+libraries then
it's better to not cheat, and test the whole running (warmed)
time.
> http://dpaste.dzfl.pl/ is back online btw
dpaste is too much javascript-heavy for a very quick pasting.
codepad is much more light if I don't want to run D code.
Bye,
bearophile
More information about the Digitalmars-d
mailing list