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
Use equalLettersIgnoringASCIICase() and SortedArrayMap in more places, for performance.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/375
EWS
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
<rdar://problem/92247702>
Darin Adler
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.