W3C home > Mailing lists > Public > public-webapi@w3.org > January 2007

Re: [selectors api] Why two methods?

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 25 Jan 2007 14:42:09 -0500
To: David Håsäther <hasather@gmail.com>, public-webapi@w3.org
Message-ID: <op.tmp6cjw164w2qv@id-c0020>

On Thu, 25 Jan 2007 14:39:46 -0500, David Håsäther <hasather@gmail.com>  
wrote:
> Why does the Selectors API define two methods for retrieving nodes?
>
> I understand that there are speed gains by having a method that grabs
> just the first node, but how often do you want to do that? Don't you
> want to grab the second node as often? Or the last?

How do you mean?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 25 January 2007 19:42:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT