From 663e154429f0c24a3e66cc8307014a3b62c778cf Mon Sep 17 00:00:00 2001 From: Emmanuel Marty Date: Tue, 2 Apr 2019 12:49:54 +0200 Subject: [PATCH] Add compression ratio stats for well-known corpus files --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c132e29..8744e21 100755 --- a/README.md +++ b/README.md @@ -11,6 +11,15 @@ Compression ratio comparison between LZSA and other optimal packers, for a workl LZ4_HC -19 -B4 -BD 64,5% (single byte stream) Uncompressed 100% +Performance over well-known compression corpus files: + + Uncompressed LZ4_HC -19 -B4 -BD LZSA + Canterbury 2810784 935827 (33,29%) 855329 (30,43%) + Silesia 211938580 77299725 (36,47%) 73794820 (34,82%) + Calgary 3251493 1248780 (38,40%) 1196872 (36,80%) + Large 11159482 3771025 (33,79%) 3649821 (32,70%) + enwik9 1000000000 371841591 (37,18%) 355429941 (35,54%) + As an example of LZSA's simplicity, a size-optimized decompressor on 8088 has been implemented in 105 bytes. The compressor is approximately 2X slower than LZ4_HC but compresses better while maintaining similar decompression speeds and decompressor simplicity.