lua-users home
lua-l archive


Daniel Quintela wrote:
Remember that the zip file format supports multiple compression method in a member by member basis.
You can compress some members with the "old" method and others with bz2.

Ah, but compressing member by member means that you have to start a new compression block with every file, which means that if you've got a lot of very small files there's really no point because of the overhead. Plus, the directory information is uncompressed, and it very quickly adds up.

Also, bz2 compression in ZIP files is rather new and not particularly well supported. Standard ZIP files haven't changed much from good old PKZIP 2.04g (and it's scary the way that version number rolls off the keyboard).

[insert interesting .sig here]