Re: NodeList interface

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 UTC