Re: Linux Kernel Source Compression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/22/06, H. Peter Anvin <[email protected]> wrote:
Alistair John Strachan wrote:
[snip]
> Seriously, though, if I understand gzip correctly, it uses deflate/zlib
> internally. Why, in that case, does /bin/gzip not (dynamically) link against
> libz? If a first step was fixing that, a second could be linking dynamically
> against libbz2 and 'liblzma', and making it all compile-time configurable.
>

Because gzip predates zlib...

Also because it runs faster than zlib on x86 due to register pressure.
Relocatable
code costs one register. x86 only has 7 that an algorithm can scribble over
(8 if it doesn't have any stack).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux