Structs§
- Graph
memory/roothold the whole-program subtype registry (grows with every distinct type seen — stdlib signatures included), and used to be deep-cloned on everyGraph::clone()(in turn triggered by everyContext::clone()).Arc-wrapping makes that clone O(1); mutators (add_type,cache_subtype) recover an owned value viaArc::unwrap_or_clone, which only actually copies when another liveArcstill shares the allocation.- Node