xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] StackOverflowError compiling XOM
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: cowwoc <cowwoc AT bbs.darktech.org>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] StackOverflowError compiling XOM
- Date: Sat, 09 Aug 2008 08:02:14 -0700
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.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA
-
Re: [XOM-interest] StackOverflowError compiling XOM,
Elliotte Harold, 08/09/2008
-
Re: [XOM-interest] StackOverflowError compiling XOM,
cowwoc, 08/10/2008
-
Re: [XOM-interest] StackOverflowError compiling XOM,
Elliotte Rusty Harold, 08/19/2008
- Re: [XOM-interest] StackOverflowError compiling XOM, cowwoc, 08/19/2008
-
Re: [XOM-interest] StackOverflowError compiling XOM,
Elliotte Rusty Harold, 08/19/2008
-
Re: [XOM-interest] StackOverflowError compiling XOM,
cowwoc, 08/10/2008
Archive powered by MHonArc 2.6.24.