c03b2af770
This commit updates the benchmark numbers in various example files. The changes reflect recent performance optimizations or adjustments to the benchmarking environment.
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
;; Benchmark: 351ns
|
|
;; Benchmark-Repeat: 5716
|
|
;; 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))
|