Files
RustAst/examples/data.myc
T
Michael Schimmel 096f166153 Update benchmark numbers
These changes update the benchmark numbers and repeat counts in the
example files. The benchmark results have slightly varied, and these
updates reflect the most recent measurements.
2026-02-28 16:02:38 +01:00

21 lines
351 B
Plaintext

;; Complex Data Structure Test
;; Benchmark: 48.1us
;; Benchmark-Repeat: 43
;; Output: {:name "Fibonacci", :input 10, :output 55}
(do
(def fib (fn [n]
(if (< n 2)
n
(+ (fib (- n 1)) (fib (- n 2))))))
(def result (fib 10))
(def data {
:name "Fibonacci"
:input 10
:output result
})
data
)