What is the current state of text-only compression algorithms?

前端 未结 3 1334
猫巷女王i
猫巷女王i 2021-01-30 13:52

In honor of the Hutter Prize, what are the top algorithms (and a quick description of each) for text compression?

Note: The intent of this question is to get a descript

3条回答
  •  天命终不由人
    2021-01-30 14:46

    There's always lzip.

    All kidding aside:

    • Where compatibility is a concern, PKZIP (DEFLATE algorithm) still wins.
    • bzip2 is the best compromise between being enjoying a relatively broad install base and a rather good compression ratio, but requires a separate archiver.
    • 7-Zip (LZMA algorithm) compresses very well and is available for under the LGPL. Few operating systems ship with built-in support, however.
    • rzip is a variant of bzip2 that in my opinion deserves more attention. It could be particularly interesting for huge log files that need long-term archiving. It also requires a separate archiver.

提交回复
热议问题