370b751e24
In some cases a custom dictionary building algorithm tailored for a specific input can be more effective than the one produced by `ZDICT_trainFromBuffer`, but with the current API it's not possible encode the entropy tables into the custom-built dictionary. This commit extracts the logic to add entropy tables to a dictionary from `ZDICT_trainFromBuffer` and exposes it as a function `ZDICT_addEntropyTablesFromBuffer`. |
||
---|---|---|
.. | ||
divsufsort.c | ||
divsufsort.h | ||
zdict_static.h | ||
zdict.c | ||
zdict.h |