This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [cp-patches] Performance improvement for FreetypeGlyphVector.java
- From: Andrew Haley <aph at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: classpath-patches ml <classpath-patches at gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>, ffileppo <ffileppo at libero dot it>
- Date: Thu, 06 Nov 2008 11:40:05 +0000
- Subject: Re: [cp-patches] Performance improvement for FreetypeGlyphVector.java
- References: <4911AADE.5090009@redhat.com> <1225971225.3539.17.camel@hermans.wildebeest.org>
Mark Wielaard wrote:
> Hi Andrew,
>
> On Wed, 2008-11-05 at 14:17 +0000, Andrew Haley wrote:
>> 2008-11-05 Andrew Haley <aph@redhat.com>
>>
>> * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning):
>> Return result in a float[], not a Point2D.
>> (performDefaultLayout): Call getKerning with a float[].
>> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
>> (getKerning): Return result in a float[], not a Point2D.
>
> Thanks. This seems like a good speed improvement.
> One nit. The default classpath build uses -Werror to keep the native
> sources as clean as possible and with this it gave:
>
> cc1: warnings being treated as errors
Ah, right. We should do that in the gcj build too.
Andrew.