On 29/08/2008, Ian Rogers <[EMAIL PROTECTED]> wrote: > Hi, > > the attached patch is trying to continue Andrew's good work and reduce the > amount of redundant array copying, in this case in jlr.Proxy. There is a > TODO in that we have no back door to turn a char[] in to a String without > copying. > > Thanks, > Ian >
VMCPStringBuilder provides such a backdoor already. It's just package private. We could make the class public I guess, or try something like Sun's Secrets. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8