use registry;
use crateOpSpec;
use FxHashMap;
use LazyLock;
/// Pre-built O(1) index from operation ID to its static spec reference.
///
/// Constructed once on first access. Every subsequent `lookup()` call is a
/// single hash probe instead of a linear scan of the full registry.
static REGISTRY_MAP: =
new;
/// Look up an operation by its stable ID.
///
/// This is called in the interpreter hot path (`eval_call`) and during
/// conformance certification. The backing index is built once on first
/// use and gives O(1) amortised lookup thereafter.