Skip to content

Commit f6d6b0c

Browse files
committed
rustc_query_system: share previous graph data with current graph
Reduce memory consumption by taking advantage of red/green algorithm properties to share the previous dependency graph's node data with the current graph instead of storing node data redundantly. Red nodes can share the `DepNode`, and green nodes can share the `DepNode` and `Fingerprint`. Edges will be shared when possible in a later change.
1 parent bb1fbbf commit f6d6b0c

File tree

2 files changed

+499
-216
lines changed

2 files changed

+499
-216
lines changed

0 commit comments

Comments
 (0)