Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change UnionType to hold an ImmutableList instead of a Collection for…
… the alternates and switch most accessors to do indexed iteration. heap profiling showed that the iteration in JsType.checkEquivalenceHelper was allocating lots of iterators. This is an easy, if slightly annoying, way to make these operations a little cheaper. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140442040
- Loading branch information
1 parent
9b70a1f
commit 9f58797
Showing
3 changed files
with
119 additions
and
52 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
Oops, something went wrong.