RESOLVED FIXED304792
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
Chris Dumez
Comment 1 2025-12-30 17:46:30 PST
Radar WebKit Bug Importer
Comment 2 2026-01-06 17:45:11 PST
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.