> lzop is a compression program with gzip-like command line
> options. How can I add to vim automatic decompression and
> recompression like it works for gzip and bzip2?
See the help on "gzip-example" for the basic shell of how to do
it, and you should be able to replace instances of gzip with
calls to lzop. You may have to twiddle to get the expected
behaviors with lzop vs. gzip, as I'm not sure whether they use
stdin/stdout or if they decompress to a file.
> (gzip compresses a little better than lzop, but lzop is typically much
> faster, see http://www.lzop.org/ for details.)
I do not know `lzop', but `gzip' may be adjusted for compression or speed.
-# --fast --best
Regulate the speed of compression using the specified digit #,
where -1 or --fast indicates the fastest compression method
(less compression) and -9 or --best indicates the slowest com?
pression method (best compression). The default compression
level is -6 (that is, biased towards high compression at expense
Moreover, you may set something like:
once and for all in your .profile or .bash_login, if you want to favour
speed over compression at compression time. (This has no effect on
decompression, of course.)
So maybe, I do not know, `gzip' compression level could be tuned so it
becomes comparable with `lzop'? Also worth noting, there are a few
well-documented algorithms which compress better than `gzip' at same
speed, or at better speed at same compression, but they are patented,
and this is why `gzip' avoided their use.