Files
RustAst/examples/record_unpack.myc
T
Michael Schimmel c03b2af770 Update benchmark numbers in examples
This commit updates the benchmark numbers in various example files. The
changes reflect recent performance optimizations or adjustments to the
benchmarking environment.
2026-02-22 16:13:11 +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: 698ns
;; Benchmark-Repeat: 2875
(do
(def process (fn [[x y]]
(+ x y)))
(process {:a 1 :b 2})
)