Files
RustAst/examples/soa_series.myc
T
Michael Schimmel d1b8d03604 Update benchmark and repeat counts
This commit updates the benchmark and repeat counts for various example
files. These changes reflect potential performance improvements or
variations observed during testing.
2026-03-03 18:55:31 +01:00

16 lines
422 B
Plaintext

;; Output: 26.7
;; Benchmark: 1.0us
;; Benchmark-Repeat: 1944
(do
(def template {:price 10.0 :volume 100 :msg "hi"})
(def my_ticks (create-series template))
(push-series my_ticks {:price 10.5 :volume 100 :msg "A"})
(push-series my_ticks {:price 11.2 :volume 200 :msg "B"})
(push-series my_ticks {:price 15.5 :volume 300 :msg "C"})
(def prices (.price my_ticks))
(+ (prices 0) (prices 1))
)