This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: load native lib (SWT) with JNI on windows


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]