forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize BindingGraph.create() by indexing all binding nodes by their…
… component path instead of traversing the full network for each subcomponent. The traversals maintain sets of visited nodes, which aren't great for hashing. Network.successors() is also not well optimized, so repeating that is costly. RELNOTES=Build performance improvements PiperOrigin-RevId: 361390045
- Loading branch information
1 parent
1caa7f0
commit 47123ec
Showing
1 changed file
with
20 additions
and
20 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