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
275170
Consider using simd base64 encode/decode from simdutf
https://bugs.webkit.org/show_bug.cgi?id=275170
Summary
Consider using simd base64 encode/decode from simdutf
Sam Weinig
Reported
2024-06-05 10:53:28 PDT
The simdutf project,
https://github.com/simdutf/simdutf
, in addition to having highly optimized unicode conversions has highly optimized/tested/fuzzed base64 encode/decode implementations, importantly including support for WHATWG-forgiving base64 ->
https://github.com/simdutf/simdutf?tab=readme-ov-file#base64
. simdutf is licensed under a compatible Apache-2.0 / MIT licenses, so we should consider an import. (our current implementation is entirely scalar)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-06-12 10:54:13 PDT
<
rdar://problem/129694621
>
Yusuke Suzuki
Comment 2
2024-07-22 20:36:29 PDT
Yes, I'm working on this right now.
Yusuke Suzuki
Comment 3
2024-07-22 20:37:07 PDT
We already adopted simdutf for Uint8Array toBase64. I will apply fromBase64 part too (having some patch already).
Sam Weinig
Comment 4
2025-03-29 08:57:50 PDT
Looks like Yusuke did this in
https://commits.webkit.org/281035@main
and
https://commits.webkit.org/281899@main
! Thanks!.
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