Bug 239798

Summary: Leverage the known length of an ASCIILiteral when comparing it to a String / AtomString
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2022-04-26 19:54:16 PDT
Avoid runtime strlen() calls when comparing String / AtomString to ASCIILiteral.
Comment 1 Chris Dumez 2022-04-26 20:11:47 PDT
Pull request: https://github.com/WebKit/WebKit/pull/407
Comment 2 EWS 2022-04-28 13:14:46 PDT
Committed r293588 (250097@main): <https://commits.webkit.org/250097@main>

Reviewed commits have been landed. Closing PR #407 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-04-28 13:15:14 PDT
<rdar://problem/92483193>