Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Enhance performance by generating jar file with -0 option

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Subject: [XOM-interest] Enhance performance by generating jar file with -0 option
  • Date: Tue, 19 Aug 2003 15:37:42 -0700

Would you consider generating jar files with the -0 option to store files in the jar file without using ZIP compression?

Although this typically doubles the jar file size, it increases class loading performance (except when used in applets which are presumably not that important here). For example the JDK rt.jar is produced that way.

Compatibility: The -0 option was introduced in JDK 1.2

Also see http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/jar.html

Thanks.
Wolfgang.





Archive powered by MHonArc 2.6.24.

Top of Page