RE: NamedNodeMap

I don't think Memory Management would be an issue. In your destroyNode function you remove the list of NodeLists and if it's not NULL remove the entry from each . Then free the node per usual.

I'm not really sure what you mean by object lifetime issues though. Do you mean their liftimes would be so short that all the extra machinery becomes silly? I agree, but I see no alternative.

Mike

> -----Original Message-----
> From:	Joseph Kesselman [SMTP:keshlam@us.ibm.com]
> Sent:	Wednesday, July 11, 2001 4:48 PM
> To:	www-dom@w3c.org
> Subject:	RE: NamedNodeMap
> 
> 
> >The only way to implement this functionality verbatium that I can see
> would >be to have an active NodeLists table for each Node.
> 
> Think about memory management and object lifetime issues before you go that
> route.
> 
> ______________________________________
> Joe Kesselman  / IBM Research
> 

Received on Wednesday, 11 July 2001 16:59:15 UTC