compiling multiple source files at once

Andreas Jaeger aj@suse.de
Tue Feb 6 01:56:00 GMT 2001


Per Bothner <per@bothner.com> writes:

> There are other advantages becsides compilation speed.  For Java, we
> can add an extra flag specifying that an emtire "package" is being
> compiled, which allows valuable optimizations.  In any case, we can
> save space due to reduced duplication of things like string literals.

This also allows to do optimizions not only on a single file level but
on an number of files.  One compiler on a Sun I used had this feature
which lead to further speedup.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Java mailing list