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
304792
Optimize StringImpl::create8BitIfPossible()
https://bugs.webkit.org/show_bug.cgi?id=304792
Summary
Optimize StringImpl::create8BitIfPossible()
Chris Dumez
Reported
2025-12-30 17:44:19 PST
Optimize StringImpl::create8BitIfPossible(). Avoid allocating new string unnecessarily in the "slow" path. Rely on highly optimized `copyElements()` to copy characters in the fast path. This results in a 0.42-0.44% speedometer on Mac with 98% confidence.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-12-30 17:46:30 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55953
Radar WebKit Bug Importer
Comment 2
2026-01-06 17:45:11 PST
<
rdar://problem/167662275
>
EWS
Comment 3
2026-01-08 00:32:34 PST
Committed
305259@main
(56dcc0037aa2): <
https://commits.webkit.org/305259@main
> Reviewed commits have been landed. Closing PR #55953 and removing active labels.
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