parse5 icon indicating copy to clipboard operation
parse5 copied to clipboard

Character token optimization

Open inikulin opened this issue 7 years ago • 0 comments

We can significantly reduce parser invocations by combining character and whitespace character tokens in some insertion modes. E.g. in body we can adjust tokenizer to not emit dedicated whitespace character tokens. We can just set flag that token contains whitespace characters and set frameset-ok flag depending on its value.

inikulin avatar Mar 24 '17 14:03 inikulin