Add compression ratio stats for well-known corpus files

This commit is contained in:
Emmanuel Marty 2019-04-02 12:49:54 +02:00 committed by GitHub
parent 8b992bb33a
commit 663e154429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.