0ed52a811d
This commit updates the benchmark metadata in several example files. The benchmark runs and repeat counts have been slightly adjusted due to optimizations or minor variations in execution.
11 lines
191 B
Plaintext
11 lines
191 B
Plaintext
;; Higher-Order Function Example
|
|
;; Benchmark: 706ns
|
|
;; Benchmark-Repeat: 2798
|
|
;; Output: 25
|
|
(do
|
|
(def apply (fn [f x] (f x)))
|
|
(def square (fn [x] (* x x)))
|
|
|
|
(apply square 5)
|
|
)
|