Descriptionremove most string concat, fixes #7
This fixes most of the egregious cases of string concat in the HTML tokenizer:
* attribute names/values
* data/comments
* script/rawtext/rcdata
It also fixes adjacent text nodes in TreeBuilder, which happens whenever space characters are adjacent to characters.
There's still an issue of preserving char codes for longer, but this should get out of the O(N^2) at least.
R=sigmund@google.com
Committed: https://github.com/dart-lang/core-elements/commit/243cbc9c40e7022f35a0a108f488ff30bb735061
Patch Set 1 : #
Total comments: 1
Messages
Total messages: 6 (3 generated)
|