Bug 252451 - Optimize use of consumeHTMLEntity() in HTMLFastPathParser::scanHTMLCharacterReference()
Summary: Optimize use of consumeHTMLEntity() in HTMLFastPathParser::scanHTMLCharacterR...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-16 20:13 PST by Chris Dumez
Modified: 2023-02-16 22:43 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-02-16 20:13:31 PST
Optimize use of consumeHTMLEntity() in HTMLFastPathParser::scanHTMLCharacterReference() so that it appends directly to its Vector<UChar> instead of going via a StringBuilder.
Comment 1 Chris Dumez 2023-02-16 20:17:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/10248
Comment 2 EWS 2023-02-16 22:42:01 PST
Committed 260426@main (a525a1c4c0bb): <https://commits.webkit.org/260426@main>

Reviewed commits have been landed. Closing PR #10248 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-02-16 22:43:19 PST
<rdar://problem/105582635>