Skip to main content

TraversalCache

Type Alias TraversalCache 

Source
pub type TraversalCache = AHashMap<(NativeNodeId, Direction), Vec<NativeNodeId>>;
Expand description

Per-traversal cache for node adjacency data.

Key: (node_id, direction) tuple Value: Vector of neighbor node IDs

The cache is created at the start of a traversal operation and dropped when the traversal completes. No explicit invalidation is needed.

Aliased Typeยง

pub struct TraversalCache(/* private fields */);