RFC: caching for I/O converters
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Tue May 29 21:17:00 GMT 2001
Tom Tromey wrote:
> This patch adds caching for I/O (charset) converters. A customer
> reported to us that creating a new converter in some String methods
> causes a lot of garbage to be created if you do a lot of converting
> from bytes to characters.
>
> Any comments on the advisability of this? Or comments on this patch
> in particular? I'm not sure what the performance impact might be. It
> was important to them, but I don't know if their case is very common.
Would this fix the performance problem on Solaris that Martin Kahlert reported?
http://gcc.gnu.org/ml/java/2001-05/msg00110.html
Either way it sounds like a good change to me.
regards
[ bryce ]
More information about the Java-patches
mailing list