Sorting using nsXULSortService is slow
Categories
(Core :: XUL, defect)
Tracking
()
People
(Reporter: bparr, Unassigned)
Details
Attachments
(1 file)
|
2.37 KB,
application/vnd.mozilla.xul+xml
|
Details |
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Updated•3 years ago
|
Comment 7•2 years ago
|
||
Since bug 1489690 this is called nsXULSortService.
And FWIW, since bug 1839051 it uses std::sort through nsTArray::Sort. According to comment 3 that is not really relevant here (but the reason I am looking at it).
nsXULElement::RemoveChildAt and nsGenericElement::InsertChildAt seem to be gone from our tree, not sure if they have been just somehow renamed or if that means this bug can be closed.
Asking :mccr8 as you were involved in bug 1563066 time ago...
Comment 8•2 years ago
|
||
I don't know what those methods are called now, but they just sound like standard DOM methods for inserting and removing children of an element. That being said, I think various parts of the infrastructure here have been rewritten, multiple times (in particular, I'm thinking of the new DOM bindings and I think there's some newer representation of child nodes), in the 14 years since this was filed, so let's just close this and people can raise performance issues if they are encountering them again.
Description
•