Re: Compressed jars

From: John C. Bollinger (jobollin_at_indiana.edu)
Date: 03/25/04


Date: Thu, 25 Mar 2004 11:36:18 -0500

Barney wrote:

> Can compressing a jar cause a performance loss in a standalone java program?

At such a general level one can only answer "yes". It's sort of like
asking "Can eating food cause a person to gain weight?" in that way.

The more pertinent questions that should follow include:
() How much of a loss?
() At what point(s) in the program?
() Under what conditions?
() Can the loss (if any) be masked or mitigated?

The answers depend considerably on a fairly large number of details.

An answer to what you may really want to know is that an application
running from classes packaged in a compressed jar will probably suffer a
very small once-per-class performance penalty with respect to the same
application running against an uncompressed jar. It is unlikely that
you would notice the difference.

John Bollinger
jobollin@indiana.edu



Relevant Pages

  • Re: Worried about height loss in 20s
    ... I have not seen a doctor yet, because I thought the loss of height I detected a few months ago was a fluke. ... I just checked my height with two different measures and came up an inch shorter than I have in the past. ... Because I've been trying to gain weight for so long, I have been very conscious about getting enough vitamins and minerals from "real" foods. ... I pretty much drink only filtered water, but pitcher filters don't really remove fluoride well, so I'm afraid I am being bombarded by it. ...
    (sci.med.diseases.osteoporosis)
  • Worried about height loss in 20s
    ... I have not seen a doctor yet, because I thought the loss of height I detected a few months ago was a fluke. ... Because I've been trying to gain weight for so long, I have been very conscious about getting enough vitamins and minerals from "real" foods. ... The only thing I can think of that would be detrimental to my bones is the heavy fluoridation of my city's water. ... I pretty much drink only filtered water, but pitcher filters don't really remove fluoride well, so I'm afraid I am being bombarded by it. ...
    (sci.med.diseases.osteoporosis)