Chromium Code Reviews
DescriptionCache the current token in some functions in the parser
Avoid some calls to CurrentToken(). Compiling all of dart2js, this saves
about 10% of calls to CurrentToken(). There is no measurable performance
difference (using wall-clock time).
R=iposva@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=36763
Patch Set 1 #
Total comments: 1
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||