[XOM-interest] StackOverflowError compiling XOM
Elliotte Harold
elharo at metalab.unc.edu
Sat Aug 9 11:02:14 EDT 2008
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
More information about the XOM-interest
mailing list