High-performance JSONLogic (json-logic) rules engine and sandboxed expression evaluator in Rust — one core, official bindings for Node.js, WASM, Python, Go, Java, .NET, and PHP. Compile once, evaluate in nanoseconds.
//! Small allocation/iteration helpers used by the operator code.
/// Allocate an empty `bumpalo::collections::Vec` with `cap` reserved slots.
/// Thin wrapper for the `Vec::with_capacity_in(cap, arena)` boilerplate that
/// appears throughout the operator code.
#[inline]pub(crate)fnbvec<T>(arena:&bumpalo::Bump, cap:usize)->bumpalo::collections::Vec<'_, T>{bumpalo::collections::Vec::with_capacity_in(cap, arena)}