RE: An observation about "live" NodeLists

>There is, in any case, a way of dealing with the cycle
>that gets you just as much/little as weak refs, but is
>fine with Java 1.1 ... hint, try a combination of the
>handle-body idiom with finalize().
>
>Err ... I can elaborate on that if it's not too far off
>topic for this list ...

I think "techniques useful for implementing the DOM" is sufficently
on-topic;
we've had discussion of other approaches for building an efficient NodeList
in the past, and this is an interesting one.
______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.

Received on Tuesday, 20 October 1998 11:47:40 UTC