I am trying to implement the code somehow that can write first 1e7 numbers under 500ms.
Putchar recursive Implementation: 3525ms
Putchar reverse Implementation: 3493ms
synchronized(off) Implementation: 1356ms
synchronized(true) Implementation: 1060ms
Normal Implementation: 1045ms
fwrite buffer Implementation: 545ms
I test those code on Custom Test
Is there any faster way ?