Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During a node traversal, it is known that the "inputId" does not chan…
…ge between the script nodes, avoid a hash lookup every time "getInput" is called by caching it. Note: the whole concept of InputId<-->Input was created to support the original Dart to JS compiler (DartC) which needed support for multiple inputs with the same original file name. While this is a useful concept it isn't currently used in any meaningful way and it might be possible to eliminate the whole abstraction. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=133675962
- Loading branch information
1 parent
3a2fea1
commit 8df87fa
Showing
1 changed file
with
20 additions
and
17 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