[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] RFC: Using HashSet for event registration in DomNode
From: |
Chris Burdess |
Subject: |
Re: [cp-patches] RFC: Using HashSet for event registration in DomNode |
Date: |
Sat, 24 Dec 2005 14:17:44 +0000 |
User-agent: |
Mutt/1.5.10i |
Guilhem Lavaux wrote:
> To improve performance in the case a DomNode has many event listeners
> (which may be the case during a eclipse build) it is more efficient to use a
> HashSet instead of the dumb algorithm currently in place of DomNode.
Thanks for doing this.
> I am trying to check what is the performance boost at the moment but if
> someone wants
> to check also...
I ran your changes against the DOM conformance test suite, which creates a lot
of small DOM trees, and the performance improvement is noticeable. There are
no regressions.
--
Chris Burdess
"They that can give up essential liberty to obtain a little safety
deserve neither liberty nor safety." - Benjamin Franklin
pgpsBh8GpVhCJ.pgp
Description: PGP signature