Walter: > It would be nice to figure out what is different. Try using the coverage > analyzer and profiler for starters! There are little differences and inefficiencies here and there, but in the second D version I think most of the performance difference over the C++ code is caused by the GC. I will do some tests. Bye, bearophile