Update example output comments
Add `Output` comments to the example files to reflect the actual output of the programs. This helps with verifying correctness and understanding example behavior.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
;; Benchmark: 93ns
|
||||
;; Benchmark-Repeat: 21646
|
||||
;; Output: 13
|
||||
(do
|
||||
(macro wrap [f] `(fn [x] (~f x)))
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
;; Benchmark: 92ns
|
||||
;; Benchmark-Repeat: 21507
|
||||
;; Output: 31.41592653589793
|
||||
(do
|
||||
(def area (fn [x] (* PI x)))
|
||||
(area 10)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
;; Benchmark: 172ns
|
||||
;; Benchmark-Repeat: 11766
|
||||
;; Output: [42 150]
|
||||
(do
|
||||
;; 1. Provokation Stack-Gap (bei Optimization Level 2)
|
||||
(def result
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
;; Dank der neuen Spezialisierung wird hierfür im Hintergrund
|
||||
;; eine SharedRecordSeries mit SoA-Layout (Float-Puffer für mid und range) erstellt.
|
||||
|
||||
;; Output: PipelineNode[last: Some({:mid 101.35623617501585, :range 0.9314056584827455})]
|
||||
|
||||
(do
|
||||
(def ohlc_stream (create-random-ohlc 42 10))
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
;; Benchmark: 890ns
|
||||
;; Benchmark-Repeat: 2258
|
||||
;; Output: ["Symbol:" "btc" "field:" :close "id:" "cls"]
|
||||
(do
|
||||
(def p (fn [conf]
|
||||
(do
|
||||
|
||||
Reference in New Issue
Block a user