Closed
Bug 560616
Opened 15 years ago
Closed 8 years ago
Undisplayed map doesn't perform well with lots of display:none kids
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
DUPLICATE
of bug 1296516
People
(Reporter: bzbarsky, Unassigned, Mentored)
References
Details
(Keywords: perf)
In particular, the append is slow. Do we really need the check for whether the node is already in the list? If not, we can just prepend instead of appending or use a CList of some sort. If we do, can we auto-switch to a hashtable as needed or something? Or does order matter here? If it does, then a CList + hashtable is probably the way to go...
Reporter | ||
Updated•14 years ago
|
Assignee: nobody → bzbarsky
Priority: -- → P1
Comment 1•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
This really needs a better owner than me...
Assignee: bzbarsky → nobody
Mentor: bzbarsky
Comment 4•8 years ago
|
||
Bug 1296516 refactors the map to use a LinkedList<UndisplayedNode>. So insertions should be O(1) now.
Depends on: 1296516
Comment 5•8 years ago
|
||
Assuming bug 1296516 sticks, this should be fixed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•