Re: Why is JAR so slow?
- From: Wibble0@xxxxxxxxx
- Date: 31 Mar 2006 11:00:28 -0800
Roedy Green wrote:
On Fri, 31 Mar 2006 07:21:13 -0500, Wibble <Wibble@xxxxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
I've given up on it and started using
gzip. Its about a bazillion times
faster, going from minutes to seconds
for some our large code generated jars.
They do quite different things. Gzip compresses an entire file. Jar
prepares many small member entries each separately compressed.
Are you referring to some alternate Jar utility?
Also check out pack200 which compresses an entire uncompressed archive
to get super compression.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
I'm talking about the plain old jar utility. I'm creating jar files to
use in a
classpath. I'm not interested that they're executable.
If you add a manifest, gzip makes jar files which java happily accepts.
The jar file creation time is what I find crazy with the jar util that
ships java.
I'm pretty sure that the reason jikes is faster is that it doesn't use
java's jar support but embeds native zip.
.
- Follow-Ups:
- Re: Why is JAR so slow?
- From: Roedy Green
- Re: Why is JAR so slow?
- From: IchBin
- Re: Why is JAR so slow?
- References:
- Why is JAR so slow?
- From: Wibble
- Re: Why is JAR so slow?
- From: Roedy Green
- Why is JAR so slow?
- Prev by Date: Re: Communicating with a Windows mfc application
- Next by Date: Re: Java 1.6
- Previous by thread: Re: Why is JAR so slow?
- Next by thread: Re: Why is JAR so slow?
- Index(es):
Relevant Pages
|