W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: Type-safe iteration over the DOM in DOM 2 & 3?

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Thu, 22 Mar 2001 09:58:24 -0500
To: www-dom@w3c.org
Message-ID: <OF608D6E40.23C29606-ON85256A17.00518A56@pok.ibm.com>

>Too bad the liveness requirement makes performance such a problem,
>but that's a different story...

We invested a huge amount of effort in making NodeIterator's liveness
overhead as lightweight as possible, consonant with the goal of giving it
the desired "maintain relative position" navigation semantics. It should be
significantly better than NodeList.

If that's still too much overhead, and you can live with "current node"
navigation semantics, TreeWalker should be about as lightweight as you can
get.

______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 22 March 2001 09:58:32 GMT

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