3 ms·
I think I noticed a serious flaw, have a peek at the includes in the C source .... #include <time.h> The program is using its own standard library to time i
by NAFV_P 13y ago
I think I noticed a serious flaw, have a peek at the includes in the C source ....
#include <time.h>
The program is using its own standard library to time itself, and I presume this applies to the other specimen languages. In order for this to be a fair test, the timing method utilised should be the same for all languages in question.
I can testify from my own experience that time() in time.h is highly unreliable, my uttering of "naut mississippi", "one mississippi", "two mississippi" was far more precise.
Of course the above does not apply to memory usage.