On 1/25/22 12:42, H. S. Teoh wrote: >> For a test run for 2 million numbers: >> >> ldc: ~0.95 seconds >> gdc: ~0.79 seconds >> dmd: ~1.77 seconds > > For measurements under 1 second, I'm skeptical of the accuracy, because > there could be all kinds of background noise, CPU interrupts and stuff > that could be skewing the numbers. What about do a best-of-3-runs with > 20 million numbers (expected <20 seconds per run) and see how the > numbers look?
Makes sense. The results are similar to the 2 million run. > But these sorts of statements are just generalizations. The best way to > find out for sure is to disassemble the executable and see for yourself > what the assembly looks like. :-) I posted the program to have more eyes on the assembly. ;) Ali