9222fb5bc8
The benchmark results in several example files have been updated. This commit reflects slight variations in performance measurements for various test cases, including closure scope, data structures, destructuring, higher-order functions, macros, and tuple operations.
13 lines
195 B
Plaintext
13 lines
195 B
Plaintext
;; Fibonacci Recursive
|
|
;; Benchmark: 52.5us
|
|
;; Benchmark-Repeat: 38
|
|
;; Output: 55
|
|
(do
|
|
(def fib (fn [n]
|
|
(if (< n 2)
|
|
n
|
|
(+ (fib (- n 1)) (fib (- n 2))))))
|
|
|
|
(fib 10)
|
|
)
|