views:

217

answers:

1

I'm looking for an algorithm to decompress chunks of data (1k-30k) in real time with minimal overhead. Compression should preferably be fast but isn't as important as decompression speed.

From what I could gather LZO1X would be the fastest one. Have I missed anything? Ideally the algorithm is not under GPL.

Thanks.

+1  A: 

When you cannot use GPL licensed code your choice is clear - zlib. Very permissive license, fast compression, fair compression ratio, very fast decompression, works everywhere and ported to every sane language.

Tometzky
This paper: http://www.kkant.net/papers/lzo_results.pdf claims 20x decompression speed advantage of LZO versus zlib (of course with worsened compressibility performance).
MaR
Yeah, zlib is good at many things, but it's not the best at decompression speeds. I had something like QuickLZ in mind.
Flawe