On Wed, 2009-10-28 at 22:44 +0100, Ulf Zibis wrote: > Hi Christian, > > for a benchmark test I have replaced all sun.nio.cs.Surrogate methods in > sun.nio.cs.ext.EUC_TW with corresponding ones from java.lang.Character. > > As result, the overall encoding performance was 10 % worse, so > java.lang.Character's methods must be much worser. > > Can you have a look, if there is a chance to better optimize > java.lang.Character methods from HotSpot compiler side.
I think you're already looking into this yourself. -- Christian