[webkit-changes] [WebKit/WebKit] c15816: Retain m_attributeBuffer Vector capacity in HTMLFa...
Chris Dumez
noreply at github.com
Thu Feb 16 08:47:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c1581646f071d8b0fb3c68fcb1db3c0daf89bdf7
https://github.com/WebKit/WebKit/commit/c1581646f071d8b0fb3c68fcb1db3c0daf89bdf7
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M Source/WebCore/dom/Attribute.h
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Retain m_attributeBuffer Vector capacity in HTMLFastPathParser::parseAttributes()
https://bugs.webkit.org/show_bug.cgi?id=252378
Reviewed by Darin Adler.
Retain vector capacity between calls of parseAttributes() for better performance.
* Source/WebCore/dom/Attribute.h:
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::parseAttributes):
Canonical link: https://commits.webkit.org/260369@main
More information about the webkit-changes
mailing list