LZMA [0] is the compression used in 7-Zip archives, which achieves a
much higher compression ratio than bzip2, but requires more time to
compress (but less to decompress).

Debian's dpkg now has support for LZMA compressed packages.

Testing on the latest UK planet (I'm not going to download the real
planet), I got the following results (all the default settings):

Original:
650625406 bytes

gzip:
 74858343 bytes, 37.198s to compress, 33.005s to decompress.
88.5% saving.

bzip2:
 57581322 bytes, 7m25.169s to compress, 45.983s to decompress.
91.1% saving, 23.0% over gzip.

lzma:
 38175614 bytes, 21m39.595s to compress, 36.187s to decompress.
94.1% saving, 49.0% over gzip, 33.7% over bzip2.

As you may be able to see (my formatting isn't the best), lzma is a lot
slower to compress that bzip2, but it is comparable to gzip to
decompress.

I remember 7-Zip planets being provided in the past, what was the reason
for removing them?

[0] http://tukaani.org/lzma/
-- 
Bruce Cowan <[EMAIL PROTECTED]>


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to