Bug 284445
Summary: | [JSC] Implement `Array.prototype.toSorted` in C++ | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sosuke Suzuki
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
Pull request: https://github.com/WebKit/WebKit/pull/37762
EWS
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
<rdar://problem/141351364>