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
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ use std::path::PathBuf;
|
||||
|
||||
fn main() -> eframe::Result {
|
||||
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()
|
||||
};
|
||||
eframe::run_native(
|
||||
|
||||
Reference in New Issue
Block a user