From: Lars Wirzenius (wirzeniu@klaava.Helsinki.FI)
Date: 02/14/93


From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Subject: gzip vs zip size (was Re: how to read .lzh/.tpz for non-SLS user)
Date: Sun, 14 Feb 1993 08:55:03 GMT

nan@matt.ksu.ksu.edu (Nan Zou) writes:
>You're right, I looked through the gzip docs and it did mention the
>usage of the LZ77 algorithm, but when I ran some tests gzip usually
>achieves a little higher compression ratio than Info zip, gzip probably
>uses some enhancement for the higher compression ratio (~5%).

I assumed that the difference in size was because of the differences
in file formats, i.e. that gzip puts less information into the file
headers, like name, permissions, and such, and perhaps they encode the
checksums differently as well. I haven't noticed size differences
that are larger than a few hundred bytes on large files, from a few
dozens of kilobytes to several megabytes.

>>however, is compatible, although gunzip has some limited support for
> ^^^^^^^^^^ Perhaps you mean incompatible?

Yep.