Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] 1.1 planned for November

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] 1.1 planned for November
  • Date: Wed, 12 Oct 2005 12:48:09 -0700

On Oct 12, 2005, at 12:35 PM, Elliotte Harold wrote:

Wolfgang Hoschek wrote:


Plus in the Attribute constructor. And don't forget the caches and other tricks inside the Verifier, they are the most significant ones...


Those are a little higher up in the proverbial fruit tree. :-) The patches you've proposed to the constructor seem reasonable, but my measurements show those changes actually slowing things down. That may be something screwy on my system, or something weird in my measurements, since it certainly seems like the changes should speed things up; but until I'm more confident I'm not going to commit those.

It's mostly about avoiding string concatenation implied by getQualifiedName() in several places.
The other issue, not caching the result of indexOf(), may be a result of you not testing namespaced attributes (e.g. SOAP, WSDL), or simply the poor OSX VM.


The Verifier changes are simply too complex for me to be comfortable integrating them at this point. They may yet be added in 1.1.1 or 1.2; but I don't want to risk any late-breaking bugs.

Ok.

Wolfgang.




Archive powered by MHonArc 2.6.24.

Top of Page