diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-09-11 21:27:14 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-09-11 21:27:14 (GMT) |
commit | b1d022fa72b75af8fb373e26ac8d2f0f14a9e6fe (patch) | |
tree | 969067c5220ba06a4da608e762489e7d01f414d9 /programs/fullbench.c | |
parent | c71de79688ee778c284c5367388b8c45546da25b (diff) | |
download | lz4-b1d022fa72b75af8fb373e26ac8d2f0f14a9e6fe.zip lz4-b1d022fa72b75af8fb373e26ac8d2f0f14a9e6fe.tar.gz lz4-b1d022fa72b75af8fb373e26ac8d2f0f14a9e6fe.tar.bz2 |
slightly improved frame compression speed
Diffstat (limited to 'programs/fullbench.c')
-rw-r--r-- | programs/fullbench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/fullbench.c b/programs/fullbench.c index b6a1c02..96120e3 100644 --- a/programs/fullbench.c +++ b/programs/fullbench.c @@ -323,7 +323,7 @@ static int local_LZ4_compressHC_limitedOutput_continue(const char* in, char* out static int local_LZ4F_compressFrame(const char* in, char* out, int inSize) { - return LZ4F_compressFrame(out, 2*inSize, in, inSize, NULL); + return LZ4F_compressFrame(out, 2*inSize + (4<<20), in, inSize, NULL); } static int local_LZ4_decompress_fast(const char* in, char* out, int inSize, int outSize) |