[webkit-reviews] review granted: [Bug 238804] Implement faster lookup of HTML tags in the HTML parser : [Attachment 456708] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 12:38:49 PDT 2022


Geoffrey Garen <ggaren at apple.com> has granted Chris Dumez <cdumez at apple.com>'s
request for review:
Bug 238804: Implement faster lookup of HTML tags in the HTML parser
https://bugs.webkit.org/show_bug.cgi?id=238804

Attachment 456708: Patch

https://bugs.webkit.org/attachment.cgi?id=456708&action=review




--- Comment #4 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 456708
  --> https://bugs.webkit.org/attachment.cgi?id=456708
Patch

r=me

Something I said in Slack to Chris: We might get more efficient branching if we
eliminate the initial switch on length (since it does not eliminate many
possibilities) and/or reorder the branches to make more likely tags like "div"
fewer branches.


More information about the webkit-reviews mailing list