-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #64850 - Mark-Simulacrum:dedup-dep-node, r=<try>
Remove duplicate DepNode::new Locally this shaves off about 3 seconds of compile time for librustc, which while not much, is something for a simple PR like this. Code is merely duplicated up from the main `DepNode::new` body. Across 3 runs for each branch I obtained these times for compiling librustc: master: 286.244, 285.208, 303.577 this branch: 282.175, 281.891, 282.968 r? @michaelwoerister
- Loading branch information
Showing
3 changed files
with
46 additions
and
4 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