diff options
author | Yann Collet <cyan@fb.com> | 2020-09-28 04:04:40 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-09-28 04:04:40 (GMT) |
commit | e7fe105ac6ed02019d34731d2ba3aceb11b51bb1 (patch) | |
tree | aead7ea0a02aed25e39e30ed3c525cd3ee6cfa30 /README.md | |
parent | 20856da7c571cc1ee55965a342527f8263dc356d (diff) | |
download | lz4-e7fe105ac6ed02019d34731d2ba3aceb11b51bb1.zip lz4-e7fe105ac6ed02019d34731d2ba3aceb11b51bb1.tar.gz lz4-e7fe105ac6ed02019d34731d2ba3aceb11b51bb1.tar.bz2 |
fix efficiency of LZ4_compress_HC_destSize()
LZ4_compress_HC_destSize() had a tendency
to discard its last match when this match overflowed specified dstBuffer limit.
The impact is generally moderate,
but occasionally huge,
typically when this last match is very large
(such as compressing a bunch of zeroes).
Issue #784 fixed for both Chain and Opt implementations.
Added a unit test suggested by @remittor checking this topic.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions