Skip to main content

evaluate_gate_compiled

Function evaluate_gate_compiled 

Source
pub fn evaluate_gate_compiled(
    specs: &[Spec],
    bindings: &IndexMap<String, Value>,
    bc: &Program,
) -> GateVerdict
Expand description

Same as evaluate_gate but takes already-compiled bytecode. Use when gating at high frequency: compile the program once, evaluate many actions against it.