 | | From: | Yair | | Subject: | compression library | | Date: | 9 Jan 2005 00:15:36 -0800 |
|
|
 | Hello!
My application needs to compress files (arbitrary types). The requirements from the compression library that I need are as follows:
1. It should be multiplatform (WIN/Linux) 2. It should provide block compression and some kind of disk serialization (like gz files) 3. It should be free 4. It should be efficient and have good performance 5. It should be mature and stable
I am currently usign zlib (V1.1.4) and I consider whether to upgrade, or maybe try using other libraries (like 7-zip or others).
Which library should I use? Any suggestions?
Thanks! Yair
|
|
 | | From: | Mark Adler | | Subject: | Re: compression library | | Date: | 12 Jan 2005 23:59:06 -0800 |
|
|
 | yairinbal@yahoo.com wrote: > Do you know about any benchmarks that compares those library > (compression ratiom/run time),
No, I don't. In any case, your mileage may vary. You're best off doing your own tests on your the target machine with representative data for your application.
mark
|
|
 | | From: | yairinbal at yahoo.com | | Subject: | Re: compression library | | Date: | 10 Jan 2005 04:00:21 -0800 |
|
|
 | Mark Adler wrote: > Yair wrote: > > I am currently usign zlib (V1.1.4) and I consider whether to upgrade, > > or maybe try using other libraries (like 7-zip or others). > > The current version of zlib is 1.2.2. You can find it here: > > http://www.zlib.net/ > > You can also look at libbzip2 here, for better compression in exchange > for more memory and time: > > http://sources.redhat.com/bzip2/ > > or LZO, for less compression, but faster and using less memory: > > http://www.oberhumer.com/opensource/lzo/ > > I was not aware that there is a portable 7-Zip library, but if there > is, that would be a good one to try out. > > mark
Thanks Mark,
7-zip latest SDK (LZMA SDK 4.02) is portable.
Do you know about any benchmarks that compares those library (compression ratiom/run time), the only ones i've foudn are from 3-4 years ago.
thanks, Yair
|
|
 | | From: | Mark Adler | | Subject: | Re: compression library | | Date: | 9 Jan 2005 16:55:27 -0800 |
|
|
 | Yair wrote: > I am currently usign zlib (V1.1.4) and I consider whether to upgrade, > or maybe try using other libraries (like 7-zip or others).
The current version of zlib is 1.2.2. You can find it here:
http://www.zlib.net/
You can also look at libbzip2 here, for better compression in exchange for more memory and time:
http://sources.redhat.com/bzip2/
or LZO, for less compression, but faster and using less memory:
http://www.oberhumer.com/opensource/lzo/
I was not aware that there is a portable 7-Zip library, but if there is, that would be a good one to try out.
mark
|
|