-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19900 from mppf/cache-module-scope-resolves
Cache module-level scope resolution PR #19306 made scope resolution significantly slower. I think part of the reason for that is it removed some caching. This PR adds some caching for module-level name lookups to make the process faster in the face of uses and imports. That allows scope resolution to run slightly faster (in my experiments) than before PR #19306. The caching needed some adjustment in order to work with extern block support. See also PR #12235 for history in this area. See also * Cray/chapel-private#3375 Reviewed by @lydia-duncan - thanks! - [x] full local testing
- Loading branch information
Showing
5 changed files
with
166 additions
and
68 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
Oops, something went wrong.