3 ms·
That removes the binary-to-decimal conversion of the result, which easily could take a significant fraction of running time when using a smart compiler.
by Someone 3y ago
That removes the binary-to-decimal conversion of the result, which easily could take a significant fraction of running time when using a smart compiler.
- andy99 3y agoI don't think that is material, it definitely isn't for code that's actually running the loop. I did just try timing it with the pipe to hexdump and of course it makes no difference. One could do the same or just modify the code to include conversion if worried about the impact.