Bug 239714

Summary: Use equalLettersIgnoringASCIICase() and SortedArrayMap in more places
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2022-04-24 15:48:47 PDT
Use equalLettersIgnoringASCIICase() and SortedArrayMap in more places, for performance.
Attachments
Chris Dumez
Comment 1 2022-04-24 16:06:53 PDT
EWS
Comment 2 2022-04-24 21:45:54 PDT
Committed r293309 (249932@main): <https://commits.webkit.org/249932@main> Reviewed commits have been landed. Closing PR #375 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-04-24 21:46:13 PDT
Darin Adler
Comment 4 2022-04-25 08:53:29 PDT
A stray thought: Maybe some day we can make equalIgnoringASCIICase a smart function template that automatically calls the "letters" version based on the characters in the constant string passed to it, analyzed at compile time. It would be nice to *not* have each programmer get this right, and automatically get the more efficient idiom.
Note You need to log in before you can comment on or make changes to this bug.