2 ms·
Funny, I just started a new repo for doing euler problems with clojure. I'm only on the first couple problems, but am generally pretty impressed. For the secone
by scrame 17y ago
Funny, I just started a new repo for doing euler problems with clojure. I'm only on the first couple problems, but am generally pretty impressed. For the seconed problem (sum of fibonaccis), my commit message is this:
confirmed, timed at: "Elapsed time: 0.41989 msecs" -- original c solution will no longer run.
My old 32 bit machine died and the original (crappy) C solution now segfaults immediately, and was much slower.
Anyway, calculating and summing all the fibonacci numbers in less than half a millisecond is pretty cool.