Russel Winder: > A priori I would believe there a problem with these numbers: my > experience of CPU-bound D code is that it is generally as fast > as C++. The C++ code I've shown above if compiled with -Ofast seems faster than the D code compiled with ldc2. Bye, bearophile