Kingsley G. Morse Jr. on 2005-03-13 09:36:37 -0800:

> Package: rzip
> Version: 2.0-2
> Severity: minor
> Tags: sid

<snip>

> What does compression level 0 do?
>
> Does compression level 0 skip the bzip2 stage? 

As I read the code (look for struct level in rzip.c), level 0 skips
bzip2 compression and uses a more limited hash table for finding
similar blocks than level 1.

> If so, wouldn't compression level 0 permit it to
> be used as a filter, which is vital for speeding
> up network transfers by allowing simultaneous
> compression, sending and decompression?

You need to have the entire blob you want to compress before you may
begin compressing it; the author has said that he does not envision
making rzip act in the manner gzip and bzip2 do (e.g., through a pipe
or with a stream) without significant work.

The algorithms behind rsync and rzip are similar, though, so if you
want a program that implements 'rzip'd file transfers' you should look
at that.  As far as having something like zlib which can be hooked
into the kernel, I am sceptical.  If you're interested in pursuing
this, I suggest you contact the author.

This report seems to be seeking information and not a bug fix; may I
close it?

Attachment: pgpInkLkrwe5F.pgp
Description: PGP signature

Reply via email to