Re: [selectors api] Why two methods?

On Sat, 27 Jan 2007 18:17:37 -0500, Martijn <martijn.martijn@gmail.com>  
wrote:
>> Given that the latter returns a StaticNodeList you can't do fancy stuff
>> such as lazy evaluation. So they become different in terms of speed.
>
> Well, typically the first thing I do is using a variable, like:
> var x=document.getElementListBySelector("html > p")[0];

Your point being?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Saturday, 27 January 2007 23:19:04 UTC