Speed ain't bad

Bulba! bulba at bulba.com
Fri Dec 31 07:54:10 EST 2004


On Fri, 31 Dec 2004 13:19:44 +0100, Reinhold Birkenfeld
<reinhold-birkenfeld-nospam at wolke7.net> wrote:

>> True; however, it's my understanding that compressing individual files
>> also means that in the case of damage to the archive it is possible to
>> recover the files after the damaged file. This cannot be guaranteed when
>> the archive is compressed as a single stream.

>With gzip, you can forget the entire rest of the stream; with bzip2,
>there is a good chance that nothing more than one block (100-900k) is lost.

I have actually written the version of that script with bzip2 but 
it was so horribly slow that I chose the zip version.






--
It's a man's life in a Python Programming Association.



More information about the Python-list mailing list