Closed
Bug 750469
Opened 13 years ago
Closed 13 years ago
Avoid n^2 iteration over gShutdown in extApplication.js
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
DUPLICATE
of bug 750583
People
(Reporter: justin.lebar+bug, Unassigned)
Details
(Keywords: perf)
extApplication.js does the following during shutdown:
// call the cleanup functions and empty the array
while (gShutdown.length) {
gShutdown.shift()();
}
This is an n^2 iteration. Pretty dumb.
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Comment 2•13 years ago
|
||
V.Duplicate
You need to log in
before you can comment on or make changes to this bug.
Description
•