This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Updated `String +' patch
- From: Per Bothner <per at bothner dot com>
- To: tromey at redhat dot com
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Mon, 10 Dec 2001 22:02:30 -0800
- Subject: Re: Patch: Updated `String +' patch
- References: <87lmgabaiy.fsf@creche.redhat.com>
Tom Tromey wrote:
> This patch changes gcj to use a private, unsychronized copy of
> StringBuffer. This speeds up String `+' operations quite a bit.
>
> Ok to commit?
I think you the authority to do that on your own, but I have
two requests/suggestions:
(1) get rid of the 'shared' field.
(2) Make java.lang.StringBuffer.append(int) native just
like gnu.gcj.runtime.StringBuffer is.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/