Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Searching for a Fast Lossless Compression Technique

Tags:

compression

I want to compress a string of bits and after that I want to decompress it. Can any body help me by mentioning a Fast Lossless Compression and Decompression Technique and if possible than it's programming implementation.

like image 567
Arpssss Avatar asked Dec 21 '22 10:12

Arpssss


2 Answers

If you're looking for speed, then considering a fast compression algorithm like LZ4 makes sense. Such algorithm is an order of magnitude faster than zlib/gzip (like 10x faster). http://code.google.com/p/lz4/

like image 124
Cyan Avatar answered Dec 24 '22 00:12

Cyan


What about the ever-green called gzip or bzip2? They come already as library, ready to use.

like image 40
Shi Avatar answered Dec 23 '22 23:12

Shi