开发者

Simple and fast C++ compression library/class

Is there some simple, easy to use C++ library or just a class for compre开发者_JAVA百科ssion?

It should be something easy to use and fast. Compression ration can be worse.


The miniz public domain (unlicense.org) library implements most of the zlib API in a single .C source file.


lzo is an alternative to zlib, it

offers pretty fast compression and extremely fast decompression." It does not support streaming, as the similar compression library Zlib (http://www.gzip.org/zlib/) does. It's licensed under the GNU General Public License.

However zlib is also a good choice. The advantage of lzo is the emphasis is on the speed of decompression, it is also faster than zlib however zlib provides better compression ratio.

Trade offs :)


Consider bzip2 - patent free, reasonable fast compression and de-compression, and fairly easy to implement. http://en.wikipedia.org/wiki/Bzip2 http://www.bzip.org


UCL is good for high performance decompression.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜