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 a List instead of a Collection for the alter…
…nates 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=139602401
- Loading branch information
1 parent
ca89eb9
commit e918996
Showing
3 changed files
with
107 additions
and
63 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.