096f166153
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.
13 lines
221 B
Plaintext
13 lines
221 B
Plaintext
;; Benchmark: 93ns
|
|
;; Benchmark-Repeat: 21646
|
|
(do
|
|
(macro wrap [f] `(fn [x] (~f x)))
|
|
|
|
(def add1 (fn [x] (+ x 1)))
|
|
(def add2 (fn [x] (+ x 2)))
|
|
|
|
(def w1 (wrap add1))
|
|
(def w2 (wrap add2))
|
|
|
|
(w1 (w2 10)))
|