Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] StackOverflowError compiling XOM

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: cowwoc <cowwoc AT bbs.darktech.org>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] StackOverflowError compiling XOM
  • Date: Sun, 10 Aug 2008 00:08:06 -0400


I used the Netbeans profiler under JDK6-update10. Please confirm you see the same improvement on your end.

Gili

Elliotte Harold wrote:
cowwoc wrote:

I've generated a replacement for UnicodeUtil.getCombiningClass() that consists of 223 lines of code and runs approximately 20x faster than the original code (which consists of 1143 lines of code). Please see the attached file.


How did you measure this?

I'm a little surprised because this is an approach that I recall taking earlier in a different part of the code and we moved to something more like what we have now because it was faster (and then we moved to something faster still, and then again to something even faster. However I haven't gotten around to making those 3rd and 4th optimizations in UnicodeUtil.) Perhaps JIT characteristics have changed since then.





Archive powered by MHonArc 2.6.24.

Top of Page