The REALLY bad thing about Python lists ..
Grant Griffin
g2 at seebelow.org
Sat May 20 16:57:41 EDT 2000
ben at co.and.co wrote:
>
> Gordon McMillan <gmcm at hypernet.com> wrote:
>
> > You might as well ask why the Windows way does it backwards:
> > zipping a tar will almost always yield better compression than
> > tarring a bunch of zips (more redundancy to work with). (Yes, it's
> > easier to extract one file from the latter, but that's not the common
> > usage.)
>
> Indeed:
>
> $ ls -lh tartest/
> total 40k
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:35 test.1
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.10
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.2
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.3
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.4
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.5
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.6
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.7
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.8
> -rw-rw-r-- 1 ben ben 1.0k May 19 18:36 test.9
>
> $ tar zcf tar.gz tartest/
> $ zip -r tar tartest/
> $ ls -lh tar.*
> -rw-rw-r-- 1 ben ben 272 May 19 18:36 tar.gz
> -rw-rw-r-- 1 ben ben 1.6k May 19 18:42 tar.zip
Maybe you guys are right. You know, since I mostly use zip, I'm tempted
to buy one of them fancy 13.2 gig disks for $120 just to cover cases
like this. However, I'm not sure my old-dog-of-a-computer can handle a
disk bigger than the 5 gig one it's already got. ;-)
a-millicent-here-a-millicent-there;-pretty-soon-you're-talking
-real-money-<wink>-ly y'rs,
=g2
--
_____________________________________________________________________
Grant R. Griffin g2 at dspguru.com
Publisher of dspGuru http://www.dspguru.com
Iowegian International Corporation http://www.iowegian.com
More information about the Python-list
mailing list