diff options
author | Yann Collet <cyan@fb.com> | 2017-03-16 22:41:30 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-03-16 22:41:30 (GMT) |
commit | aae447fffd3c5afd95a94c56ea70c349edad1ebd (patch) | |
tree | b59a6659ecf298cbe3e5c73728ce3aabce3f8866 /lib/lz4hc.h | |
parent | cd35f0d98c54e3ba0573ce5473482fadd6ec0a59 (diff) | |
download | lz4-aae447fffd3c5afd95a94c56ea70c349edad1ebd.zip lz4-aae447fffd3c5afd95a94c56ea70c349edad1ebd.tar.gz lz4-aae447fffd3c5afd95a94c56ea70c349edad1ebd.tar.bz2 |
LZ4_compress_HC_continue_destSize() works as intended up to level 10
It's incompatible with btopt though,
so cLevel >= 11 feature much reduced performance (degraded mode)
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index 8535a9e..09a648c 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -258,6 +258,8 @@ LZ4LIB_API int LZ4_compress_HC_destSize(void* LZ4HC_Data, * @return : the number of bytes written into 'dst' * or 0 if compression fails. * `sourceSizePtr` : value will be updated to indicate how much bytes were read from `source` + * Important : due to limitations, this prototype only works well up to cLevel < LZ4HC_CLEVEL_OPT_MIN + * beyond that level, compression performance will be much reduced due to internal incompatibilities */ LZ4LIB_API int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t* LZ4_streamHCPtr, const char* src, char* dst, |