-
-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[tool]: separate import resolution pass (#4229)
this commit separates import resolution into its own pass. there are two reasons for this: a) improved performance on certain operations, specifically, computation of the integrity hash. this is a hotspot for tooling, which needs to compute the integrity hash of a contract quickly to check if it needs to be recompiled or not b) logical separation. after this commit, all the I/O and filepath computation of the module analysis is moved into its own pass, making the module analyzer "pure" - it no longer needs to deal about input bundles or filepaths or anything like that. misc/refactor: this commit moves integrity hash computation into a compiler pass. besides that, some some minor code touchups were performed, but because of moving code into a new file, an effort was made to keep the semantics of the code largely the same, to ease reasoning about the diff.
- Loading branch information
1 parent
6606ded
commit 6843e79
Showing
14 changed files
with
465 additions
and
414 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
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.