WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
274873
[SHA1] Add fast path when adding UTF8 bytes from a String that only contains ASCII
https://bugs.webkit.org/show_bug.cgi?id=274873
Summary
[SHA1] Add fast path when adding UTF8 bytes from a String that only contains ...
Chris Dumez
Reported
2024-05-29 17:11:24 PDT
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
Comment 1
2024-05-29 18:18:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/29273
EWS
Comment 2
2024-05-30 07:40:24 PDT
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
Comment 3
2024-05-30 07:50:29 PDT
<
rdar://problem/129005213
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug