-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify ComputeCriticalPath() function.
Using simple unordered sets is enough to perform the same computation with less complexity, smaller and faster code. On a large Fuchsia build plan, this reduces the ComputeCriticalPath metric from 2.6s to 2.1s!
- Loading branch information
1 parent
5239a6d
commit 436abee
Showing
1 changed file
with
11 additions
and
29 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