lkml.org 
[lkml]   [2006]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux Kernel Source Compression
    On 5/22/06, H. Peter Anvin <hpa@zytor.com> 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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-22 23:14    [W:0.021 / U:30.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site