Closed Bug 1233643 Opened 10 years ago Closed 1 year ago

Self-host Array.prototype.slice.

Categories

(Core :: JavaScript Engine, defect)

defect

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.
Blocks: 784288
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 :/
this bug no more blocks bug 1165052.
No longer blocks: 1165052
Unassigning for now
Assignee: arai.unmht → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 890329
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.