]> git.ipfire.org Git - thirdparty/zstd.git/commit
improved btlazy2 : list of unsorted candidates can reach extDict
authorYann Collet <cyan@fb.com>
Sat, 30 Dec 2017 14:12:59 +0000 (15:12 +0100)
committerYann Collet <cyan@fb.com>
Sat, 30 Dec 2017 14:12:59 +0000 (15:12 +0100)
commitf597f556752ec1d0defe6aa6e9d6470f5f73509c
tree386a7e0478b537afddf6ad9194c1c4934fc90cf7
parenta68b76afefec6876f8e8a538155109a5aeac0143
improved btlazy2 : list of unsorted candidates can reach extDict

It used to stop on reaching extDict, for simplification.
As a consequence, there was a small loss of performance each time the round buffer would restart from beginning.
It's not a large difference though, just several hundreds of bytes on silesia.
This patch fixes it.
lib/compress/zstd_lazy.c
lib/decompress/zstd_decompress.c