W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: NodeList interface

From: John Cowan <cowan@locke.ccil.org>
Date: Fri, 25 Sep 1998 15:10:30 -0400
Message-ID: <360BEAA6.6896FA6A@locke.ccil.org>
To: DOM List <www-dom@w3.org>
keshlam@us.ibm.com wrote:

> The standard kluge-around for almost tolerable efficiency seems to be to
> have NodeList cache everything it finds,

Is this really necessary, as opposed to just caching the current
(i.e. last fetched) position?

> refresh that cache if the tree
> structure has changed below the point getElementsByTagName was started
> from,

This is the really expensive item, I think.  Does anyone have a quick'n'dirty
way of doing this?

	-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Friday, 25 September 1998 15:10:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT