|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| cmake_unofficial/ | H | 03-May-2022 | - | | |
| contrib/djgpp/ | H | 10-Mar-2017 | - | 178 | 134 |
| doc/ | H | 10-Mar-2017 | - | 495 | 347 |
| examples/ | H | 10-Mar-2017 | - | 1,862 | 1,248 |
| lib/ | H | 10-Mar-2017 | - | 13,378 | 8,718 |
| programs/ | H | 10-Mar-2017 | - | 3,805 | 2,651 |
| tests/ | H | 10-Mar-2017 | - | 3,582 | 2,697 |
| visual/ | H | 10-Mar-2017 | - | 1,495 | 1,460 |
| .gitattributes | H A D | 10-Mar-2017 | 348 | 22 | 17 |
| .gitignore | H A D | 10-Mar-2017 | 305 | 37 | 30 |
| .travis.yml | H A D | 10-Mar-2017 | 3.8 KiB | 132 | 115 |
| LICENSE | H A D | 10-Mar-2017 | 679 | 16 | 12 |
| Makefile | H A D | 10-Mar-2017 | 5.4 KiB | 168 | 93 |
| NEWS | H A D | 10-Mar-2017 | 1.9 KiB | 42 | 34 |
| README.md | H A D | 10-Mar-2017 | 6 KiB | 96 | 80 |
| appveyor.yml | H A D | 10-Mar-2017 | 5.8 KiB | 144 | 137 |
README.md
1Lizard - efficient compression with very fast decompression
2--------------------------------------------------------
3
4Lizard (formerly LZ5) is a lossless compression algorithm which contains 4 compression methods:
5- fastLZ4 : compression levels -10...-19 are designed to give better decompression speed than [LZ4] i.e. over 2000 MB/s
6- LIZv1 : compression levels -20...-29 are designed to give better ratio than [LZ4] keeping 75% decompression speed
7- fastLZ4 + Huffman : compression levels -30...-39 add Huffman coding to fastLZ4
8- LIZv1 + Huffman : compression levels -40...-49 give the best ratio (comparable to [zlib] and low levels of [zstd]/[brotli]) at decompression speed of 1000 MB/s
9
10Lizard library is based on frequently used [LZ4] library by Yann Collet but the Lizard compression format is not compatible with LZ4.
11Lizard library is provided as open-source software using BSD 2-Clause license.
12The high compression/decompression speed is achieved without any SSE and AVX extensions.
13
14
15|Branch |Status |
16|------------|---------|
17|lz5_v1.5 | [![Build Status][travis15Badge]][travisLink] [![Build status][Appveyor15Badge]][AppveyorLink] |
18|lizard | [![Build Status][travis20Badge]][travisLink] [![Build status][Appveyor20Badge]][AppveyorLink] |
19
20[travis15Badge]: https://travis-ci.org/inikep/lizard.svg?branch=lz5_v1.5 "Continuous Integration test suite"
21[travis20Badge]: https://travis-ci.org/inikep/lizard.svg?branch=lizard "Continuous Integration test suite"
22[travisLink]: https://travis-ci.org/inikep/lizard
23[Appveyor15Badge]: https://ci.appveyor.com/api/projects/status/cqw7emcuqge369p0/branch/lz5_v1.5?svg=true "Visual test suite"
24[Appveyor20Badge]: https://ci.appveyor.com/api/projects/status/cqw7emcuqge369p0/branch/lizard?svg=true "Visual test suite"
25[AppveyorLink]: https://ci.appveyor.com/project/inikep/lizard
26[LZ4]: https://github.com/lz4/lz4
27[zlib]: https://github.com/madler/zlib
28[zstd]: https://github.com/facebook/zstd
29[brotli]: https://github.com/google/brotli
30
31
32Benchmarks
33-------------------------
34
35The following results are obtained with [lzbench](https://github.com/inikep/lzbench) and `-t16,16`
36using 1 core of Intel Core i5-4300U, Windows 10 64-bit (MinGW-w64 compilation under gcc 6.2.0)
37with [silesia.tar] which contains tarred files from [Silesia compression corpus](http://sun.aei.polsl.pl/~sdeor/index.php?page=silesia).
38
39| Compressor name | Compression| Decompress.| Compr. size | Ratio |
40| --------------- | -----------| -----------| ----------- | ----- |
41| memcpy | 7332 MB/s | 8719 MB/s | 211947520 |100.00 |
42| lz4 1.7.3 | 440 MB/s | 2318 MB/s | 100880800 | 47.60 |
43| lz4hc 1.7.3 -1 | 98 MB/s | 2121 MB/s | 87591763 | 41.33 |
44| lz4hc 1.7.3 -4 | 55 MB/s | 2259 MB/s | 79807909 | 37.65 |
45| lz4hc 1.7.3 -9 | 22 MB/s | 2315 MB/s | 77892285 | 36.75 |
46| lz4hc 1.7.3 -12 | 17 MB/s | 2323 MB/s | 77849762 | 36.73 |
47| lz4hc 1.7.3 -16 | 10 MB/s | 2323 MB/s | 77841782 | 36.73 |
48| lizard 1.0 -10 | 346 MB/s | 2610 MB/s | 103402971 | 48.79 |
49| lizard 1.0 -12 | 103 MB/s | 2458 MB/s | 86232422 | 40.69 |
50| lizard 1.0 -15 | 50 MB/s | 2552 MB/s | 81187330 | 38.31 |
51| lizard 1.0 -19 | 3.04 MB/s | 2497 MB/s | 77416400 | 36.53 |
52| lizard 1.0 -21 | 157 MB/s | 1795 MB/s | 89239174 | 42.10 |
53| lizard 1.0 -23 | 30 MB/s | 1778 MB/s | 81097176 | 38.26 |
54| lizard 1.0 -26 | 6.63 MB/s | 1734 MB/s | 74503695 | 35.15 |
55| lizard 1.0 -29 | 1.37 MB/s | 1634 MB/s | 68694227 | 32.41 |
56| lizard 1.0 -30 | 246 MB/s | 909 MB/s | 85727429 | 40.45 |
57| lizard 1.0 -32 | 94 MB/s | 1244 MB/s | 76929454 | 36.30 |
58| lizard 1.0 -35 | 47 MB/s | 1435 MB/s | 73850400 | 34.84 |
59| lizard 1.0 -39 | 2.94 MB/s | 1502 MB/s | 69807522 | 32.94 |
60| lizard 1.0 -41 | 126 MB/s | 961 MB/s | 76100661 | 35.91 |
61| lizard 1.0 -43 | 28 MB/s | 1101 MB/s | 70955653 | 33.48 |
62| lizard 1.0 -46 | 6.25 MB/s | 1073 MB/s | 65413061 | 30.86 |
63| lizard 1.0 -49 | 1.27 MB/s | 1064 MB/s | 60679215 | 28.63 |
64| zlib 1.2.8 -1 | 66 MB/s | 244 MB/s | 77259029 | 36.45 |
65| zlib 1.2.8 -6 | 20 MB/s | 263 MB/s | 68228431 | 32.19 |
66| zlib 1.2.8 -9 | 8.37 MB/s | 266 MB/s | 67644548 | 31.92 |
67| zstd 1.1.1 -1 | 235 MB/s | 645 MB/s | 73659468 | 34.75 |
68| zstd 1.1.1 -2 | 181 MB/s | 600 MB/s | 70168955 | 33.11 |
69| zstd 1.1.1 -5 | 88 MB/s | 565 MB/s | 65002208 | 30.67 |
70| zstd 1.1.1 -8 | 31 MB/s | 619 MB/s | 61026497 | 28.79 |
71| zstd 1.1.1 -11 | 16 MB/s | 613 MB/s | 59523167 | 28.08 |
72| zstd 1.1.1 -15 | 4.97 MB/s | 639 MB/s | 58007773 | 27.37 |
73| zstd 1.1.1 -18 | 2.87 MB/s | 583 MB/s | 55294241 | 26.09 |
74| zstd 1.1.1 -22 | 1.44 MB/s | 505 MB/s | 52731930 | 24.88 |
75| brotli 0.5.2 -0 | 217 MB/s | 244 MB/s | 78226979 | 36.91 |
76| brotli 0.5.2 -2 | 96 MB/s | 283 MB/s | 68066621 | 32.11 |
77| brotli 0.5.2 -5 | 24 MB/s | 312 MB/s | 60801716 | 28.69 |
78| brotli 0.5.2 -8 | 5.56 MB/s | 324 MB/s | 57382470 | 27.07 |
79| brotli 0.5.2 -11 | 0.39 MB/s | 266 MB/s | 51138054 | 24.13 |
80
81[silesia.tar]: https://drive.google.com/file/d/0BwX7dtyRLxThenZpYU9zLTZhR1k/view?usp=sharing
82
83
84Documentation
85-------------------------
86
87The raw Lizard block compression format is detailed within [lizard_Block_format].
88
89To compress an arbitrarily long file or data stream, multiple blocks are required.
90Organizing these blocks and providing a common header format to handle their content
91is the purpose of the Frame format, defined into [lizard_Frame_format].
92Interoperable versions of Lizard must respect this frame format.
93
94[lizard_Block_format]: doc/lizard_Block_format.md
95[lizard_Frame_format]: doc/lizard_Frame_format.md
96