On 9/20/13 2:36 AM, bearophile wrote:
In D it's often better to use std.algorithm/range instead of raw foreach loops (despite probably unlike C++ in D a heavy use of ranges leads to a lower performance, even if you use the LDC2 compiler).
Why would there be a performance loss? Andrei
