RESOLVED FIXED Bug 238074
Optimize AtomHTMLToken::initializeAttributes()
https://bugs.webkit.org/show_bug.cgi?id=238074
Summary Optimize AtomHTMLToken::initializeAttributes()
Chris Dumez
Reported 2022-03-18 07:28:32 PDT
Optimize AtomHTMLToken::initializeAttributes().
Attachments
Patch (2.03 KB, patch)
2022-03-18 07:30 PDT, Chris Dumez
no flags
Patch (2.07 KB, patch)
2022-03-18 10:17 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2022-03-18 07:30:47 PDT
Geoffrey Garen
Comment 2 2022-03-18 08:42:47 PDT
Comment on attachment 455093 [details] Patch R=me
Geoffrey Garen
Comment 3 2022-03-18 10:14:24 PDT
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?
Chris Dumez
Comment 4 2022-03-18 10:17:11 PDT
EWS
Comment 5 2022-03-18 17:20:40 PDT
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].
Radar WebKit Bug Importer
Comment 6 2022-03-18 17:21:18 PDT
Note You need to log in before you can comment on or make changes to this bug.