Rollup merge of #123980 - WaffleLapkin:graph-average-refactor, r=wesleywiser
Add an opt-in to store incoming edges in `VecGraph` + misc r? ```@fmease``` needed for #123939
This commit is contained in:
commit
2b94e02737
5 changed files with 265 additions and 70 deletions
|
@ -382,7 +382,7 @@ impl<'tcx> MiniGraph<'tcx> {
|
|||
edges.push((source_node, target_node));
|
||||
},
|
||||
);
|
||||
let graph = VecGraph::new(nodes.len(), edges);
|
||||
let graph = VecGraph::<_, false>::new(nodes.len(), edges);
|
||||
let sccs = Sccs::new(&graph);
|
||||
Self { nodes, sccs }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue