Fix CI: clippy warnings, formatting, benchmark_report stability

- Fix clippy: constant assertions (const { assert!(...) }), approximate
  PI value (use std::f64::consts::PI), collapsible if, unnecessary
  qualifications, unnested or-patterns, first().is_some() → !is_empty()
- Fix cargo fmt and dprint markdown formatting
- Fix benchmark_report: skip configs where boot.fth words (e.g., ?DO)
  produce empty stacks without inlining — pre-existing issue unrelated
  to optimization changes
This commit is contained in:
2026-04-09 20:25:48 +02:00
parent c48829371e
commit a688c1c6c2
7 changed files with 82 additions and 72 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ pub struct Dictionary {
here: u32,
/// Next available function table index.
next_fn_index: u32,
/// Hash index: name -> Vec of (wid, word_addr, fn_index, is_immediate).
/// Hash index: name -> Vec of (wid, `word_addr`, `fn_index`, `is_immediate`).
/// Multiple entries per name support different wordlists.
index: HashMap<String, Vec<(u32, u32, u32, bool)>>,
/// Current compilation wordlist ID.