summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-05 21:05:08 (GMT)
committerYann Collet <cyan@fb.com>2018-09-05 21:05:08 (GMT)
commit0fea528e3a70f8578ca6e7f15d922dab8aa9ff25 (patch)
tree75d8c00fc7fa2857a49d5d5c2466e33586ba7afc /README.md
parentc4dbc37b3ce085a05441124fee4a8144dc149b05 (diff)
downloadlz4-0fea528e3a70f8578ca6e7f15d922dab8aa9ff25.zip
lz4-0fea528e3a70f8578ca6e7f15d922dab8aa9ff25.tar.gz
lz4-0fea528e3a70f8578ca6e7f15d922dab8aa9ff25.tar.bz2
updated documentation regarding dictionary compression
following suggestion from @stbrumme (#558) Also : bumped version number, regenerated man page and html doc
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 14 insertions, 9 deletions
diff --git a/README.md b/README.md
index 406792a..e64020d 100644
--- a/README.md
+++ b/README.md
@@ -2,18 +2,23 @@ LZ4 - Extremely fast compression
================================
LZ4 is lossless compression algorithm,
-providing compression speed at 400 MB/s per core,
+providing compression speed > 500 MB/s per core,
scalable with multi-cores CPU.
It features an extremely fast decoder,
with speed in multiple GB/s per core,
typically reaching RAM speed limits on multi-core systems.
Speed can be tuned dynamically, selecting an "acceleration" factor
-which trades compression ratio for more speed up.
+which trades compression ratio for faster speed.
On the other end, a high compression derivative, LZ4_HC, is also provided,
trading CPU time for improved compression ratio.
All versions feature the same decompression speed.
+LZ4 is also compatible with [dictionary compression](https://github.com/facebook/zstd#the-case-for-small-data-compression),
+and can ingest any input file as dictionary,
+including those created by [Zstandard Dictionary Builder](https://github.com/facebook/zstd/blob/v1.3.5/programs/zstd.1.md#dictionary-builder).
+(note: only the final 64KB are used).
+
LZ4 library is provided as open-source software using BSD 2-Clause license.
@@ -67,8 +72,8 @@ in single-thread mode.
[zlib]: http://www.zlib.net/
[Zstandard]: http://www.zstd.net/
-LZ4 is also compatible and well optimized for x32 mode,
-for which it provides some additional speed performance.
+LZ4 is also compatible and optimized for x32 mode,
+for which it provides additional speed performance.
Installation
@@ -76,7 +81,7 @@ Installation
```
make
-make install # this command may require root access
+make install # this command may require root permissions
```
LZ4's `Makefile` supports standard [Makefile conventions],
@@ -94,10 +99,10 @@ Documentation
The raw LZ4 block compression format is detailed within [lz4_Block_format].
-To compress an arbitrarily long file or data stream, multiple blocks are required.
-Organizing these blocks and providing a common header format to handle their content
-is the purpose of the Frame format, defined into [lz4_Frame_format].
-Interoperable versions of LZ4 must respect this frame format.
+Arbitrarily long files or data streams are compressed using multiple blocks,
+for streaming requirements. These blocks are organized into a frame,
+defined into [lz4_Frame_format].
+Interoperable versions of LZ4 must also respect the frame format.
[lz4_Block_format]: doc/lz4_Block_format.md
[lz4_Frame_format]: doc/lz4_Frame_format.md