forked from lz4/lz4
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
level 2 compatibility with LZ4F dictionary compression
LZ4_createCDict() doesn't know the compression level with which it will be used. Consequently, it's prepared for the "standard" HC mode (i.e. levels 3+). Unfortunately, the layout of the search tables for this mode is incompatible with level 2 (lz4mid). Fixed, by making level 2 able to query lz4hc tables from an external dictionary state. Also, disable the "copy tables" command when the active state is incompatible with the dictionary state.
- Loading branch information
Showing
2 changed files
with
121 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters