On Saturday, 29 January 2022 at 18:28:06 UTC, Ali Çehreli wrote:
On 1/29/22 10:04, Salih Dincer wrote:
> Could you also try the following
> code with the same configurations?
The program you posted with 2 million random values:
ldc 1.9 seconds
gdc 2.3 seconds
dmd 2.8 seconds
I understand such short tests are not definitive but to have a
rough idea between two programs, the last version of my program
that used sprintf with 2 million numbers takes less time...
sprintf() might be really fast, but your algorithm is definitely
2.5x faster than mine! (with LDC) I couldn't compile with GDC.
Theoretically, I might have lost the challenge :)
With love and respect...