When is Analysis data recomputed #238
Unanswered
meithecatte
asked this question in
Q&A
Replies: 1 comment
-
It will depend entirely on the DidMerge. Your intuition is correct; while you can look at "non-local" information, only the DidMerge tells the systems when to stop propagating. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Analysis::make
is passed a reference to the entire e-graph, so in theory it could depend on anything at all in the e-graph. Of course, then, there is no hope of keeping the analysis data up-to-date. I've noticed that changes in the analysis data of an e-class cause the analysis to be recomputed for all the parent nodes, and so on, recursively upwards. Is it kosher, though, for an analysis to inspect the structure of the children nodes directly? Will unions affecting those classes cause a ripple of recomputation, or will it that depend on the hints returned byDidMerge
?Beta Was this translation helpful? Give feedback.
All reactions