DescriptionSpeed up adding literal chars when the buffer is known to be one-byte
We have fast-paths in identifier and string scanning that know that so far they have only handled one-byte input. In that case, we can add chars to the literal buffer assuming that it's still in one-byte state, avoiding 2 branches. This seemingly reduces identifier scanning from ~5% to ~4% on octane-codeload.
BUG=
Committed: https://crrev.com/e7de678a2c108949856e3005fe62f43d49aad7ec
Cr-Commit-Position: refs/heads/master@{#36868}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 19 (9 generated)
|