Closed
Bug 1124684
Opened 9 years ago
Closed 7 years ago
Array operations appear not to be optimized for empty arrays
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1088189
People
(Reporter: abbGZcvu_bugzilla.mozilla.org, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150108202552 Steps to reproduce: Certain operations appear not to be optimized for empty arrays, eg. new Array(0x4000000).reverse() new Array(0x4000000).sort() new Array(0x4000000).join("") Actual results: Code uses 100% CPU for a while. Expected results: Code should return almost instantly. (Compare Google's V8)
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•