From 5f13b0d8532d525bfd1e28301a09ecee269c465d Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Mon, 20 Jan 2020 19:00:36 +0200 Subject: [PATCH] README: document the advantages of LZMA --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9e938d0..da8a7ab 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,14 @@ papaw consists of a small executable (~15-40K) containing a decompressor. It ext The payload executable is extracted to a temporary file. When running as root, this is done by mounting a tmpfs file system and lazily unmounting it before the extraction. -## Supported Decompressors +## Supported Compression Algorithms -* [XZ Embedded](https://tukaani.org/xz/embedded.html) (the default) -* The [LZMA SDK](https://www.7-zip.org/sdk.html) decompressor -* The [Zstandard](https://github.com/facebook/zstd) decompressor -* [miniz](https://github.com/richgel999/miniz) +* LZMA2, using [XZ Embedded](https://tukaani.org/xz/embedded.html) (the default) +* LZMA1, using the [LZMA SDK](https://www.7-zip.org/sdk.html) decompressor +* Zstandard, using the [zstd](https://github.com/facebook/zstd) decompressor +* Deflate, using [miniz](https://github.com/richgel999/miniz) + +The first two are extremely similar in compression ratio, code size, memory usage and speed. ## Usage