Closed lzhfromustc closed 4 years ago
Since this PR hasn't been merged, I can't create another PR. So I add what I want to commit to this PR.
The changed files can be reviewed like this:
path/path.go is the biggest update. It is quite independent and can be reviewed separately. It defines how to compute LCA(lowest common ancester)
The second update is in analysis/pointer/pointer.go, func WithdrawAllTraditionals. It is almost the same as func WithdrawAllChan in our last PR
The third update is in syncgraph/dependency.go. It takes the result from the second update as parameter, and during its computation, it uses LCA from the first update. It is not completed yet
This PR does two things: