load native lib (SWT) with JNI on windows
Per Bothner
per@bothner.com
Thu Nov 21 09:50:00 GMT 2002
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/
More information about the Java
mailing list