Bug 274873
| Summary: | [SHA1] Add fast path when adding UTF8 bytes from a String that only contains ASCII | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Add fast path when adding UTF8 bytes from a String that only contains ASCII. Also fix a bug in our HTTP disk cache hashing function where there was already a fast path and this fast path was hashing the null terminator, where was the slow path wasn't. Align both code paths so that we never hash the null terminator and bump the HTTP cache version since this change is not backward compatible.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/29273
EWS
Committed 279513@main (484500b2c078): <https://commits.webkit.org/279513@main>
Reviewed commits have been landed. Closing PR #29273 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/129005213>