DescriptionParser & internalizing: efficiency fixes.
1) In ParseLazy, we're already using the heap, so we can also tell
AstValueFactory to internalize immediately. This is more efficient.
2) No need to collect the values in values_ and strings_ if they're already
internalized.
3) No need to collect AstValues which are strings in values_ since they don't
need to be internalized (the underlying strings will be internalized
separately).
BUG=429168
LOG=N
R=rossberg@chromium.org
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Messages
Total messages: 4 (1 generated)
|