Expand description
GraphSlot - per-FunctionProto compiled data per
docs/ENGINE.md §3.
Under the runtime-linker model each entry in
Node.model.functions[] becomes one GraphSlot in
Engine.graphs, keyed by the function’s
(domain, name, overload). The map IS the symbol table - a call
NodeProto whose (domain, op_type, overload) matches a key
resolves to the target installed graph.
Each NodeProto’s dispatch kind is pre-stamped at install time
into op_dispatch[i] (parallel to function.node[i]). Runtime
invoke is one indexed probe; no HashMap lookups on hot path.
Structs§
- Graph
Slot - Per-FunctionProto compiled data installed on the
Engine. Keyed inEngine.graphsby(domain, name, overload)- the canonical symbol-table key the linker dedupes on. The map key IS the name, soGraphSlotcarries no separatenamefield.