Bug 240247 - Add find()/reverseFind()/contains() overloads takes an ASCIILiteral to our String types
Summary: Add find()/reverseFind()/contains() overloads takes an ASCIILiteral to our St...
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-05-09 12:33 PDT by Chris Dumez
Modified: 2022-05-18 22:54 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-05-09 12:33:14 PDT
Add find()/reverseFind()/contains() overloads takes an ASCIILiteral to our String types. These versions are more efficient when the call sites have an ASCIILiteral as they have less branching.
Comment 1 Chris Dumez 2022-05-09 13:05:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/569
Comment 2 Radar WebKit Bug Importer 2022-05-16 12:34:12 PDT
<rdar://problem/93365800>
Comment 3 Chris Dumez 2022-05-18 09:31:40 PDT
Pull request: https://github.com/WebKit/WebKit/pull/730
Comment 4 EWS 2022-05-18 22:54:30 PDT
Committed r294468 (250730@main): <https://commits.webkit.org/250730@main>

Reviewed commits have been landed. Closing PR #730 and removing active labels.