OK. On the other hand regarding speed the fast version is in another world. So the speed comparison will become a little silly.
The first program doesn't even compile with ldc2 v.2.063.2, and the two programs are quite different in scope...
Bye, bearophile