Closed Bug 560511 Opened 14 years ago Closed 14 years ago

Investigate how to optimize mutation obverser handling

Categories

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

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 518562

People

(Reporter: smaug, Unassigned)

References

(Blocks 1 open bug)

Details

I wonder if we could speed up mutation observer handling by reducing
extra addrefs/releases and some virtual calls.

Perhaps when registering an observer it should tell what kinds of
notifications it wants to get and then for other kinds of there
is no need to addref/release and call dummy methods.

Also, would it be too scary to require that observers keep themself alive
during methods calls. Right now nodeutils has nsCOMPtr when it calls
mutation observer methods, but perhaps not all listeners need that.
Note bug 518562?  This seems like a dup.
heh. How could I remember all the bugs I file :)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.