ZSTD_compress_usingDict() when dict gets loaded

Specify that when `dict == NULL || dictSize < 8` no dictionary
gets loaded.
Also add some periods.
This commit is contained in:
Nick Terrell
2016-11-02 18:07:16 -07:00
parent 0a5a5fb7fd
commit d82efd8a70
4 changed files with 29 additions and 23 deletions
+2 -1
View File
@@ -1135,7 +1135,8 @@ When `Repeated_Offset2` is used, it's swapped with `Repeated_Offset1`.
Dictionary format
-----------------
`zstd` is compatible with "raw content" dictionaries, free of any format restriction.
`zstd` is compatible with "raw content" dictionaries, free of any format restriction,
except that they must be at least 8 bytes.
But dictionaries created by `zstd --train` follow a format, described here.
__Pre-requisites__ : a dictionary has a size,