Bug 239798 - Leverage the known length of an ASCIILiteral when comparing it to a String / AtomString
Summary: Leverage the known length of an ASCIILiteral when comparing it to a String / ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-26 19:54 PDT by Chris Dumez
Modified: 2022-04-28 13:15 PDT (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 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>