Some light speed testing: Ludus is 1000x slower than Clojure.

This commit is contained in:
Scott Richmond 2022-03-20 20:15:43 -04:00
parent 52f357765d
commit 41e9b4d9dd

View File

@ -253,7 +253,7 @@
(n) -> mult (n, fact (sub (n, 1)))
}
fact (6)
fib (1)
")
@ -278,6 +278,16 @@
")
(defn fib [n]
(case n
0 1
1 1
(+ (fib (- n 1)) (fib (- n 2)))))
(fib 35)