Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Possible ArrayList optimization

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT>
  • To: "Bradley S. Huffman" <hip AT>
  • Cc: xom-interest AT
  • Subject: Re: [XOM-interest] Possible ArrayList optimization
  • Date: Mon, 12 May 2003 22:09:44 -0400

At 8:59 AM -0500 5/12/03, Bradley S. Huffman wrote:

Something like this wouldn't work? (**warning** I just typed this in from
memory as a example, it has been tested)

OK. I rearchitected the XOMHandler class to work from a single parent node rather than a parent stack as you suggested. (I haven't figured out how to use patch yet, so I just rewrote the code myself once I understood what you were suggesting) It didn't break anything, and it proved to be a small improvement in time and space, so I'm going to keep it. Thanks!

Elliotte Rusty Harold
elharo AT
Processing XML with Java (Addison-Wesley, 2002)

Archive powered by MHonArc 2.6.24.

Top of Page