[webkit-changes] [WebKit/WebKit] b85d28: Add inline capacity to HTMLFastPathParser::m_attri...

Chris Dumez noreply at github.com
Thu Feb 16 11:31:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b85d28aacabeb1ded3146626eb1968d202a58d08
      https://github.com/WebKit/WebKit/commit/b85d28aacabeb1ded3146626eb1968d202a58d08
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp

  Log Message:
  -----------
  Add inline capacity to HTMLFastPathParser::m_attributeBuffer
https://bugs.webkit.org/show_bug.cgi?id=252408

Reviewed by Ryosuke Niwa.

Add inline capacity to HTMLFastPathParser::m_attributeBuffer to match the one
the full HTML parser already uses for attributes (via HTMLToken::AttributeList).
This vector was a top contributor to fastMalloc() calls in profiles.

* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:

Canonical link: https://commits.webkit.org/260387@main




More information about the webkit-changes mailing list