[jdom-interest] Performance tests

Jason Hunter jhunter at acm.org
Wed May 9 10:48:52 PDT 2001


philip.nelson at omniresources.com wrote:
> 
> I have included the patch for Element which should go in any case.
> removeAttribute is called *every time* setAttribute is called, whether it
> needs to be or not.  This means iterating through the entire list multiple
> times for every call.  My patch eliminates this for the most normal case of
> building a new document from xml source.

Good one.  Just checked it in.

-jh-



More information about the jdom-interest mailing list