Files
RustAst/examples/fib.myc
T
Michael Schimmel 2cc47c557b Update benchmark results
This commit updates the benchmark results for various examples. The
benchmark times and repeat counts have been adjusted to reflect current
performance characteristics.
2026-02-28 14:27:54 +01:00

13 lines
195 B
Plaintext

;; Fibonacci Recursive
;; Benchmark: 45.9us
;; Benchmark-Repeat: 45
;; Output: 55
(do
(def fib (fn [n]
(if (< n 2)
n
(+ (fib (- n 1)) (fib (- n 2))))))
(fib 10)
)