[XOM-interest] StackOverflowError compiling XOM

cowwoc cowwoc at bbs.darktech.org
Sun Aug 10 00:08:06 EDT 2008


	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.
> 


More information about the XOM-interest mailing list