This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: load native lib (SWT) with JNI on windows
- From: Per Bothner <per at bothner dot com>
- To: Frank Jacobs <forkjake at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 21 Nov 2002 08:51:09 -0800
- Subject: Re: load native lib (SWT) with JNI on windows
- References: <20021121151242.4454.qmail@web20810.mail.yahoo.com>
Frank Jacobs wrote:
In what regards is performance impacted?
(a) compile time
It is probably faster to compiler from bytecode. However, when
compiling from source you also have the option of compiling many
files at once:
gcj -c -o foo-package.o foo.class1.java foo/class2.java ....
This should be substantially faster than calling the compiler
many times. (In principle one coud do the same for compiling
.class files, but that isn't suppored yet.) Doing this can
also improve the generate code in minor ways.
OR
(b) actually execution time of resulting application
Yes. Various optimizations work better when compiling from
source.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/