-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite resource owner tracking to avoid quadratic blowup
Instead of merging dictionaries of resources at every intermediate rule, we keep a nested set of (path, owner) pairs as well as a nested set of unowned resources, and reconstruct the implicit map at the binary level only when we actually need it to filter the resources, and drop it immediately afterwards. For a benchmark run, this reduces post-analysis memory from ~5.9 GB to ~5 GB. RELNOTES: Refactored AppleResourceInfo provider to reduce memory consumption. PiperOrigin-RevId: 259545637
- Loading branch information
1 parent
9462b5e
commit 6f5fa24
Showing
5 changed files
with
87 additions
and
59 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
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
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
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
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