summing large arrays - or - performance of tight loops

Manfred Nowak svv1999 at hotmail.com
Wed Apr 18 13:40:24 PDT 2007


Thomas Kuehne wrote

surprised by the slow code DMD generates for "foreach".

Not confirmed.

On my machine foreach is about 15% faster than pointer_2a.

-manfred



More information about the Digitalmars-d mailing list