-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improve the check for ]]> in character data
XML disallows the sequence of characters ]]> in character data. The previous way in which we checked for the presence of ]]> was rather expensive. (It probably triggered repeated flattenings of the `this.text` string.) The code was reworked to dramatically reduce the cost of that check.
- Loading branch information
Showing
3 changed files
with
31,388 additions
and
20 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
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
Oops, something went wrong.