-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace OrderedSet<> instances with UniqueVector<>.
The OrderedSet<> template has a misleading name, because its semantics are not those of an ordered set of items, but match completely those of UniqueVector<>. The latter is also slightly faster and uses less memory. This CL replaces all instances of OrderedSet<> with UniqueVector<> ones, and removes the template definition from the source tree. Profiling shows no noticeable difference in performance or memory usage with the Chrome and Fuchsia "gn gen" operations. Change-Id: Ie9b8ecfc0724d07129f69c68db5e1205b49f3970 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/11825 Commit-Queue: David Turner <[email protected]> Reviewed-by: Sylvain Defresne <[email protected]>
- Loading branch information
1 parent
7d80399
commit 170c2db
Showing
7 changed files
with
29 additions
and
89 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 was deleted.
Oops, something went wrong.
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