On Tue Dec 08 15:37:20 2009, LBROCARD wrote:
Show quoted text> You'd like to use LZMA without compressing well?
... but lzma is not as high compression as lzma -9. I'd like to use LZMA
to compress the best it possibly can, and the default settings are not
the same as lzma -9.
ski@portege:~/mysrc/skixp$ tar cpf Compress-LZMA-External.tar
Compress-LZMA-External/
ski@portege:~/mysrc/skixp$ ls -l Compress-LZMA-External.tar
-rw-r--r-- 1 ski ski 61440 2009-12-08 20:41 Compress-LZMA-External.tar
ski@portege:~/mysrc/skixp$ /usr/bin/time lzma Compress-LZMA-External.tar
0.05user 0.03system 0:00.09elapsed 88%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+24outputs (0major+4674minor)pagefaults 0swaps
ski@portege:~/mysrc/skixp$ ls -l Compress-LZMA-External.tar.lzma
-rw-r--r-- 1 ski ski 9873 2009-12-08 20:41 Compress-LZMA-External.tar.lzma
ski@portege:~/mysrc/skixp$ unlzma Compress-LZMA-External.tar.lzma
ski@portege:~/mysrc/skixp$ /usr/bin/time lzma -9 Compress-LZMA-External.tar
0.08user 0.11system 0:00.21elapsed 89%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+24outputs (0major+16962minor)pagefaults 0swaps
ski@portege:~/mysrc/skixp$ ls -l Compress-LZMA-External.tar.lzma
-rw-r--r-- 1 ski ski 9844 2009-12-08 20:41 Compress-LZMA-External.tar.lzma
Show quoted text> Anyway, this module is a simple interface to the command-line program,
> so I'm rejecting this as a bug, sorry. (Unless you can convince me
> otherwise, say with a patch ;-)
It's a feature request. I would say that at the least lzma -9 should be
the default.