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

>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 UTC