- From: Anne van Kesteren <annevk@opera.com>
- Date: Sat, 27 Jan 2007 18:18:45 -0500
- To: Martijn <martijn.martijn@gmail.com>
- Cc: David Håsäther <hasather@gmail.com>, public-webapi@w3.org
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