I need to choose a compression algorithm

Posted by chiz on Stack Overflow See other posts from Stack Overflow or by chiz
Published on 2010-03-07T18:52:51Z Indexed on 2010/03/08 13:51 UTC
Read the original article Hit count: 740

I need to choose a compression algorithm to compress some data. I don't know the type of data I'll be compressing in advance (think of it as kinda like the WinRAR program).

I've heard of the following algorithms but I don't know which one I should use. Can anyone post a short list of pros and cons? For my application the first priority is decompression speed; the second priority is space saved. Compression (not decompression) speed is irrelevant.

  • Deflate
  • Implode
  • Plain Huffman
  • bzip2
  • lzma

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about language-agnostic