speedTest icon indicating copy to clipboard operation
speedTest copied to clipboard

implementation in C is missing a zero

Open Peleg opened this issue 10 years ago • 1 comments

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.

Peleg avatar Feb 13 '14 05:02 Peleg

I tried both primes.js and primes.c and results are: primes.c 6.1652 s 1 primes.js 10.71 s 1.73

pablovilchis avatar May 02 '15 03:05 pablovilchis