Closed
Bug 1233643
Opened 10 years ago
Closed 1 year ago
Self-host Array.prototype.slice.
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 890329
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: arai, Unassigned)
References
Details
derived from bug 1165052.
Before supporting @@species in Array.prototype.slice, it should be better to self-host it.
With simple perf test (bug 1165052 comment #25), straight forward implementation seems to be fast enough.
Reporter | ||
Comment 1•10 years ago
|
||
there are 2 problems in straightforward JS impl:
* slice on sparse array gets extremely slower, because it's so much optimized in m-c (bug 1087963)
* slice have to handle obj->getOps()->getElements
So, it does well only on dense array :/
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•