c03b2af770
This commit updates the benchmark numbers in various example files. The changes reflect recent performance optimizations or adjustments to the benchmarking environment.
11 lines
192 B
Plaintext
11 lines
192 B
Plaintext
;; Higher-Order Function Example
|
|
;; Benchmark: 130ns
|
|
;; Benchmark-Repeat: 15499
|
|
;; Output: 25
|
|
(do
|
|
(def apply (fn [f x] (f x)))
|
|
(def square (fn [x] (* x x)))
|
|
|
|
(apply square 5)
|
|
)
|