Re: DOMNodeListImpl performance

2004-07-21 Thread Michael Glavassevich
Hello Mike, What you describe has existed for quite some time in Xerces-J's DOM implementation. See nodeListItem() and nodeListGetLength() [1]. [1] http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/dom/ParentNode.java?view=markup On Wed, 21 Jul 2004, Mike Morearty wrote: Th

DOMNodeListImpl performance

2004-07-21 Thread Mike Morearty
I am new to this alias. My team has been using Xerces for a month or two. One of the developers in my group wrote some code like this (I'm writing this on the fly, so please ignore any typos): DOMNodeList* children = myelem->getChildNodes(); int length = children->getLength();