Skip to main content

execute_explain

Function execute_explain 

Source
pub fn execute_explain(
    rs: &RuleSet,
    ctx: &ExecCtx<'_>,
    input: &str,
) -> Result<(String, ExplainTrace)>
Expand description

Like execute but records per-op stats. Only top-level ops are recorded — macros and split sub-chains run silently. Adds ~µs of overhead per op for line/byte counting; safe for interactive use, avoid in tight loops.