0ed52a811d
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.
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
;; Benchmark: 354ns
|
|
;; Benchmark-Repeat: 5640
|
|
;; Financial DSL Macro example
|
|
;; Demonstrates generating complex records from simple parameters.
|
|
;; Output: {:price 100, :size 2, :total 200}
|
|
|
|
(do
|
|
(macro trade [p s] `{:price ~p :size ~s :total (* ~p ~s)})
|
|
(trade 100 2))
|