compression question

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I'm using #ZipLib to compress some data.
I wonder what's better:

- 1. produce a big (tar) file (concatenation of multiple stream) and gzip it
- 2. gzip all my element str and tar the whole bunch

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
Depends on how you will use your element strs.
AFAIK gzipping the whole bunch will result in smaller tar size as compared
to every element being gzipped.

However, if you're using not all the element strs, then more efficient will
be to have multiple gzips in one tar - you will be able to use parts of data
withour decompressing whole tar...
 
all..right, I see!
thanks!

Vadym Stetsyak said:
Depends on how you will use your element strs.
AFAIK gzipping the whole bunch will result in smaller tar size as compared
to every element being gzipped.

However, if you're using not all the element strs, then more efficient
will be to have multiple gzips in one tar - you will be able to use parts
of data withour decompressing whole tar...
 
Back
Top