Skip to content

Deserialization/Storage of StackGraphs #114

Discussion options

You must be logged in to vote

Good questions @maxwnewcomer!

What you are asking about is the incrementality of the system: if one file changes, how much work has to be redone? At the minimum the stack graph for that file has to be recomputed, as you correctly said. But what about those paths? If complete (ref to def) paths were computed in the full graph (all files combined), it is a difficult problem to determine which paths were invalidated, which failed attempts (in the previous graph) may now succeed, etc. Instead of doing that, the path finding algorithm can be split up in two phases. One precomputes partial paths per file, and if the file doesn't change, neither do these. The second phase is stitching these part…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@maxwnewcomer
Comment options

@hendrikvanantwerpen
Comment options

@maxwnewcomer
Comment options

Answer selected by maxwnewcomer
Comment options

You must be logged in to vote
2 replies
@hendrikvanantwerpen
Comment options

@oppiliappan
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants