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
193 B
Plaintext
13 lines
193 B
Plaintext
;; Closure Scope Test
|
|
;; Benchmark: 777ns
|
|
;; Benchmark-Repeat: 2659
|
|
;; Output: 15
|
|
(do
|
|
(def make-adder (fn [x]
|
|
(fn [y] (+ x y))))
|
|
|
|
(def add5 (make-adder 5))
|
|
|
|
(add5 10)
|
|
)
|