speedTest
speedTest copied to clipboard
implementation in C is missing a zero
Hey, just got here from http://stackoverflow.com/a/18432860/3220101 and wanted to draw your attention to the fact that your C implementation of the prime calculations seems to be iterating only 200,000 times instead of the 2,000,000 the JS implementation has.
I tried both primes.js and primes.c and results are: primes.c 6.1652 s 1 primes.js 10.71 s 1.73