WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
284445
[JSC] Implement `Array.prototype.toSorted` in C++
https://bugs.webkit.org/show_bug.cgi?id=284445
Summary
[JSC] Implement `Array.prototype.toSorted` in C++
Sosuke Suzuki
Reported
2024-12-11 01:13:17 PST
In current implementation, `Array#toSorted` is written in JavaScript. This patch implements it in C++. In BaselineJIT, this patch makes it 1.2x faster. Also no performance regression by this patch.
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2024-12-11 01:14:02 PST
Pull request:
https://github.com/WebKit/WebKit/pull/37762
EWS
Comment 2
2024-12-12 04:09:37 PST
Committed
287734@main
(2e3b7325657e): <
https://commits.webkit.org/287734@main
> Reviewed commits have been landed. Closing PR #37762 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-12-12 04:10:15 PST
<
rdar://problem/141351364
>
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