summing large arrays - or - performance of tight loops

Tomas Lindquist Olsen tomas at famolsen.dk
Wed Apr 18 08:22:34 PDT 2007


Thomas Kuehne wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've done a few tests on how DMD and GDC handle tight loops
> and was surprised by the slow code DMD generates for "foreach".
> 
> results and source code:
> http://dstress.kuehne.cn/benchmark/tight_loops/sum.html
> 
> Thomas
> 
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iD8DBQFGJkFyLK5blCcjpWoRAgM4AJ9JnbxtHTlBFwXdWfwfcuShxi/2iACfVaxI
> ULxRdOI+28mzZXCbv8RiPO8=
> =Z0K0
> -----END PGP SIGNATURE-----

Invalid URL. I tried looking at http://dstress.kuehne.cn/benchmark/ and
there is not even a tight_loops directory!



More information about the Digitalmars-d mailing list