Closed
Bug 262832
Opened 20 years ago
Closed 20 years ago
nsTextServicesDocument has slow copy/pasted code
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha5
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: perf)
nsTextServicesDocument has a copy/paste of the ComparePoints function that lives
in nsRange.cpp. The thing is, this function is really slow (see bug 262764).
Why can't this just use nsIRangeUtils so that improvements to the core code will
automatically be benefited from?
Assignee | ||
Updated•20 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Comment 1•20 years ago
|
||
This probably depends on bug 262833 -- once that's fixed we could just use the
nsRangeUtils service here without even needing a local ptr.
Depends on: 262833
Assignee | ||
Updated•20 years ago
|
Assignee: mozeditor → bzbarsky
Whiteboard: [good first bug]
Assignee | ||
Comment 2•20 years ago
|
||
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.8alpha5
You need to log in
before you can comment on or make changes to this bug.
Description
•