Files
RustAst/examples/record_unpack.myc
T
Michael Schimmel 0ed52a811d Update benchmark metadata
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.
2026-02-22 01:37:00 +01:00

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: 740ns
;; Benchmark-Repeat: 2745
(do
(def process (fn [[x y]]
(+ x y)))
(process {:a 1 :b 2})
)