-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Graph - Simplify delta derivation, remove redundant diffing …
…pass Summary: D51665495 allows for some simplification of the way `Graph` currently builds its delta for the caller. Now that previous `moduleData` is captured on `_releaseModule`, `_processModule` always has a baseline for comparison with the pre-commit graph, and unmodified modules (all dependencies equal, transform result key equal) will now definitely not be marked `touched` even in cases where they are removed and re-added to the graph. This allows us to cut out much of the additional pruning logic added in D45691844, and reduce some repetition in dependency comparisons. Changelog: Internal Reviewed By: motiz88 Differential Revision: D51941768 fbshipit-source-id: c0d857aa5b95811ab21a51c7bb323d55edb6ad20
- Loading branch information
1 parent
0e51ad9
commit 3aca493
Showing
1 changed file
with
30 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters