diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2020-08-10 19:52:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 19:52:32 (GMT) |
commit | b26c140a54a0d04fe71b0bfc3a24915b887308bc (patch) | |
tree | d75cf56ceb8c8d9307aed8dd85a95ec65f3e03f8 /lib/lz4.h | |
parent | ad14a98a0915f2bcc3cc2bbc0f2ab827fc5932c2 (diff) | |
parent | 7b1b078dfcedd169332b0583d34daa65b2c585db (diff) | |
download | lz4-b26c140a54a0d04fe71b0bfc3a24915b887308bc.zip lz4-b26c140a54a0d04fe71b0bfc3a24915b887308bc.tar.gz lz4-b26c140a54a0d04fe71b0bfc3a24915b887308bc.tar.bz2 |
Merge pull request #895 from lz4/hugefast
Fix #876
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -186,7 +186,8 @@ LZ4LIB_API int LZ4_compressBound(int inputSize); The larger the acceleration value, the faster the algorithm, but also the lesser the compression. It's a trade-off. It can be fine tuned, with each successive value providing roughly +~3% to speed. An acceleration value of "1" is the same as regular LZ4_compress_default() - Values <= 0 will be replaced by ACCELERATION_DEFAULT (currently == 1, see lz4.c). + Values <= 0 will be replaced by LZ4_ACCELERATION_DEFAULT (currently == 1, see lz4.c). + Values > LZ4_ACCELERATION_MAX will be replaced by LZ4_ACCELERATION_MAX (currently == 65537, see lz4.c). */ LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration); |