Bug 244266 - Use WTF::equal(CharType*, CharType*, unsigned) in more places
Summary: Use WTF::equal(CharType*, CharType*, unsigned) in more places
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: 2022-08-23 13:23 PDT by Chris Dumez
Modified: 2022-08-24 08:53 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-08-23 13:23:57 PDT
Use WTF::equal(CharType*, CharType*, unsigned) in more places to compare characters. It is more optimized than memcmp().
Comment 1 Chris Dumez 2022-08-23 13:26:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3585
Comment 2 EWS 2022-08-24 08:52:34 PDT
Committed 253722@main (95d312e5cf97): <https://commits.webkit.org/253722@main>

Reviewed commits have been landed. Closing PR #3585 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-24 08:53:15 PDT
<rdar://problem/99086860>