On 22/12/2010 23:06, Steven Schveighoffer wrote: > (also, ensure you use -O -release -inline for the most optimized code). quote... // D version, with std.algorithm // ~ 281 ms, using dmd 2.051 (dmd -O -release -inline) Sometimes having a look at the source helps :)