;; Benchmark: 1.1us ;; Benchmark-Repeat: 1877 (do (def my_ticks (series 100)) (push my_ticks {:price 10.5 :volume 100 :msg "A"}) (push my_ticks {:price 11.2 :volume 200 :msg "B"}) (push my_ticks {:price 15.5 :volume 300 :msg "C"}) (def prices (.price my_ticks)) ;; prices 0 = 15.5 (newest), prices 1 = 11.2 (assert-eq 26.7 (+ (prices 0) (prices 1))) )