Closed Bug 26430 Opened 25 years ago Closed 20 years ago

investigate removal of mDocument pointer from nsGeneric[HTML]Element

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: waterson, Assigned: waterson)

References

Details

(Keywords: dom1, perf)

Per scc's suggestion, investigate time/space trade-offs from removing the cached mDocument pointer from nsGeneric[HTML]Element and nsXULElement, and instead doing an O(log n) walk to the root of the element to determine the document.
Status: NEW → ASSIGNED
Keywords: perf
Target Milestone: M15
Target Milestone: M15 → M16
Waterson, hold on with doing this for a while, I've got other ideas up my sleave, more info in a while...
Target Milestone: M16 → Future
Mass update of qa contact
QA Contact: gerardok → janc
Any news, jst? (How much would this save us, anyway? How many of these things do we create/keep in memory? Thousands? Millions?)
Keywords: nsbeta1
Keywords: dom1
Component: DOM Level 1 → DOM HTML
QA contact Update
QA Contact: janc → desale
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
Blocks: 104166
Depends on: 27382
Fixed as part of a checkin for bug 27382. Filed bug 255077 on a similar change for nsXULElement.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.