Re: Selectors API

On Mon, 23 Mar 2009 11:32:56 +0100, Robert Green <rgqld@iinet.net.au>  
wrote:
> I have been told that the reason for not having live collections is for  
> performance, but I find that hard to understand.  The current live  
> collections are much faster than their native javascript emulations, I  
> can't see that getting a collection every time it is required will be  
> faster than getting it once and using it many times.

This is in fact the reason they are static. Browser implementors indicated  
that doing this live would not perform well due to the relative complexity  
of Selectors.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 23 March 2009 12:46:26 UTC