Closed
Bug 1943832
Opened 24 days ago
Closed 23 days ago
Make spellcheck range creation faster.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
136 Branch
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•24 days ago
|
||
SelectNodeContents() is constant time, while SelectNode() relies on
knowing the index of the node in its parent, which is quadratic with
many contenteditable siblings, see bug 1943746.
Updated•24 days ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33466b5ea3de
Select the node contents rather than the node for spellcheck. r=masayuki
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Comment 4•23 days ago
|
||
This improved the original testcase by 32x, and the relevant part of the profile by 134x (for 150000 elements)
You need to log in
before you can comment on or make changes to this bug.
Description
•