Expand description
Pre-computed routing table for O(1) hot path dispatch.
The RoutingTable is built once during DAG finalization (Ring 2) and
provides O(1) lookups during event processing (Ring 0). Each
RoutingEntry is cache-line aligned (64 bytes) to avoid false sharing.
§Index Formula
index = node_id * MAX_PORTS + portFor most nodes, port = 0 (single output). Multi-output operators
use separate ports for distinct output streams.
Structs§
- Routing
Entry - A cache-line aligned routing entry for a
(node, port)pair. - Routing
Table - Pre-computed routing table for O(1) DAG event dispatch.
Constants§
- MAX_
PORTS - Maximum output ports per node.