Re:Comparing clojure and node.js for speed
by calpaterson on Thursday April 07, 2011 @06:54PM
(#2421561)
Hopefully you'd try another algorithm before you did that ;). Primality tests are one of the most highly understood and well documented areas of CS - trial division has been obsolete since, what, 1640?
[ Parent
| on HN ]
... trial division has been obsolete since, what, 1640?
Longer than that. The sieve of Eratosthenes is attributed to Eratosthenes, who lived from 276 BC to 195 BC.
Re:Comparing clojure and node.js for speed
by calpaterson on Friday April 08, 2011 @07:31AM
(#2423297)
Hah, this exact thing occurred to me lying in bed last night :)