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: 93ns
|
||||||
;; Benchmark-Repeat: 21646
|
;; Benchmark-Repeat: 21646
|
||||||
|
;; Output: 13
|
||||||
(do
|
(do
|
||||||
(macro wrap [f] `(fn [x] (~f x)))
|
(macro wrap [f] `(fn [x] (~f x)))
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
;; Benchmark: 92ns
|
;; Benchmark: 92ns
|
||||||
;; Benchmark-Repeat: 21507
|
;; Benchmark-Repeat: 21507
|
||||||
|
;; Output: 31.41592653589793
|
||||||
(do
|
(do
|
||||||
(def area (fn [x] (* PI x)))
|
(def area (fn [x] (* PI x)))
|
||||||
(area 10)
|
(area 10)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
;; Benchmark: 172ns
|
;; Benchmark: 172ns
|
||||||
;; Benchmark-Repeat: 11766
|
;; Benchmark-Repeat: 11766
|
||||||
|
;; Output: [42 150]
|
||||||
(do
|
(do
|
||||||
;; 1. Provokation Stack-Gap (bei Optimization Level 2)
|
;; 1. Provokation Stack-Gap (bei Optimization Level 2)
|
||||||
(def result
|
(def result
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
;; Dank der neuen Spezialisierung wird hierfür im Hintergrund
|
;; Dank der neuen Spezialisierung wird hierfür im Hintergrund
|
||||||
;; eine SharedRecordSeries mit SoA-Layout (Float-Puffer für mid und range) erstellt.
|
;; eine SharedRecordSeries mit SoA-Layout (Float-Puffer für mid und range) erstellt.
|
||||||
|
|
||||||
|
;; Output: PipelineNode[last: Some({:mid 101.35623617501585, :range 0.9314056584827455})]
|
||||||
|
|
||||||
(do
|
(do
|
||||||
(def ohlc_stream (create-random-ohlc 42 10))
|
(def ohlc_stream (create-random-ohlc 42 10))
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
;; Benchmark: 890ns
|
;; Benchmark: 890ns
|
||||||
;; Benchmark-Repeat: 2258
|
;; Benchmark-Repeat: 2258
|
||||||
|
;; Output: ["Symbol:" "btc" "field:" :close "id:" "cls"]
|
||||||
(do
|
(do
|
||||||
(def p (fn [conf]
|
(def p (fn [conf]
|
||||||
(do
|
(do
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ use std::path::PathBuf;
|
|||||||
|
|
||||||
fn main() -> eframe::Result {
|
fn main() -> eframe::Result {
|
||||||
let options = eframe::NativeOptions {
|
let options = eframe::NativeOptions {
|
||||||
viewport: egui::ViewportBuilder::default().with_inner_size([800.0, 600.0]),
|
viewport: egui::ViewportBuilder::default().with_inner_size([1024.0, 768.0]),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
eframe::run_native(
|
eframe::run_native(
|
||||||
|
|||||||
Reference in New Issue
Block a user