W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2009

Re: Mutation events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Wed, 11 Mar 2009 16:35:10 +0200
Message-ID: <49B7CC1E.8000506@helsinki.fi>
To: Stewart Brodie <stewart.brodie@antplc.com>
CC: www-dom@w3.org
On 3/11/09 4:26 PM, Stewart Brodie wrote:
> My implementation also does all of the events except SubtreeModified.

> The
>  slowdown factor will depend on what mutations you are actually doing.
Sure. I was testing with a deep DOM tree and using a listener which 
doesn't actually to anything. The point was just to show that the
slow down can be significant.


>  I
> don't expect our implementation to slow down at all unless you are actually
> listening for the events.
Right, this is what happens in browsers too. Mutation events aren't even 
dispatched unless there are listeners.


-Olli
Received on Wednesday, 11 March 2009 14:35:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:59 GMT