Frits van Bommel wrote: > However, after adding 'printf("%d", dx)' the generated code for D and > C++ is virtually identical, as are the timings. printf is kinda a heavy weight function. how does it compare with some dummy function?