new level 10
authorYann Collet <cyan@fb.com>
Wed, 20 Dec 2017 13:14:01 +0000 (14:14 +0100)
committerYann Collet <cyan@fb.com>
Wed, 20 Dec 2017 13:14:01 +0000 (14:14 +0100)
commit55da545e7ac7b1335beac65aba2a1a30cef118ba
tree4fed5c3e4e3d984a3ae583def500abfc93e14cac
parentec93bb127f96df0e2c2badabdb7daa1b2ce885c9
new level 10

lz4opt is only competitive vs lz4hc level 10.
Below that level, it doesn't match the speed / compression effectiveness of regular hc parser.

This patch propose to extend lz4opt to levels 10-12.
The new level 10 tend to compress a bit better and a bit faster than previous one (mileage vary depending on file)

The only downside is that `limitedDestSize` mode is now limited to max level 9 (vs 10),
since it's only compatible with regular HC parser.
(Note : I suspect it's possible to convert lz4opt to support it too, but haven't spent time into it).
lib/lz4hc.c
lib/lz4hc.h