Summary: | Optimize AtomHTMLToken::initializeAttributes() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, changseok, darin, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, webkit-bug-importer, ysuzuki | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Chris Dumez
2022-03-18 07:28:32 PDT
Created attachment 455093 [details]
Patch
Comment on attachment 455093 [details]
Patch
R=me
Comment on attachment 455093 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455093&action=review > Source/WebCore/html/parser/AtomHTMLToken.h:207 > + HashSet<AtomString> addedAttributes; Maybe reserveInitialCapacity(size) here, like we do for m_attributes? Created attachment 455107 [details]
Patch
Committed r291508 (248615@main): <https://commits.webkit.org/248615@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455107 [details]. |