Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Possible ArrayList optimization
  • Date: Sat, 10 May 2003 07:40:36 -0400

Once again the wisdom of profiling before optimizing is proved. I finally got a profiler to run across the code and rapidly discovered that the leak was not where I thought it was at all. I should have thought of this earlier, but it turns out that it was the same damn StringBuffer memory leak that afflicted JDOM beta 8. I thought that had been fixed in Java 1.4.2. I guess not.

In any case, 1.0d13 should have a much smaller footprint all around. I plan to release it as soon as I can track down this last annoying EBCDIC bug. Something in the chain is converting NELs to Linefeeds when the encoding is Cp037, and I'm not sure what. Right now my prime suspect is Xerces.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page