pub fn set_eval_budget(max_steps: u64)Expand description
Set this thread’s per-evaluation step ceiling. Takes effect on the
next reset_eval_budget (i.e. the next top-level evaluation).
Lower it when evaluating untrusted XPath to cap worst-case CPU;
raise it for trusted, legitimately-expensive generated expressions.
A value of 0 makes every evaluation fail on its first step.