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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user