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.
12 lines
308 B
Plaintext
12 lines
308 B
Plaintext
;; Benchmark: Record Destructuring Performance
|
|
;; This test calls a function that destructures a record
|
|
;; Current implementation is now zero-allocation for destructuring.
|
|
;; Output: 3
|
|
;; Benchmark: 723ns
|
|
;; Benchmark-Repeat: 2783
|
|
|
|
(do
|
|
(def process (fn [[x y]]
|
|
(+ x y)))
|
|
|
|
(process {:a 1 :b 2})
|
|
)
|