Re: Character.java methods are slower than Surrogate.java's

2009-12-07 Thread Ulf Zibis
Am 07.12.2009 11:19, Christian Thalinger schrieb: 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 encod

Re: Character.java methods are slower than Surrogate.java's

2009-12-07 Thread Christian Thalinger
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.la

Character.java methods are slower than Surrogate.java's

2009-10-28 Thread Ulf Zibis
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 loo