Closed Bug 750469 Opened 13 years ago Closed 13 years ago

Avoid n^2 iteration over gShutdown in extApplication.js

Categories

(Firefox :: General, defect)

defect
Not set
normal

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.
Blocks: 750454
No longer depends on: 750454
Keywords: perf
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
V.Duplicate
No longer blocks: 750454, 750953
Status: RESOLVED → VERIFIED
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.