]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed checksum
authorYann Collet <yann.collet.73@gmail.com>
Tue, 6 Sep 2016 07:54:22 +0000 (09:54 +0200)
committerYann Collet <yann.collet.73@gmail.com>
Tue, 6 Sep 2016 09:16:57 +0000 (11:16 +0200)
NEWS
lib/compress/zstd_compress.c

diff --git a/NEWS b/NEWS
index d72e6b103dcc940921afeb3ec4f41f0dc15888b6..167666c4a62b5af1fc704c2fffaee796ef3fd4a4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 v1.0.1
 New : contrib/pzstd, parallel version of zstd, by Nick Terrell
 added : NetBSD install target (#338)
+Improved : variable compression speed improvements on batches of small files.
 Fixed : CLI -d output to stdout by default when input is stdin (#322)
 Fixed : CLI correctly detects console on Mac OS-X
 Fixed : Legacy decoders use unified error codes (#341), reported by benrg
index 7e30f5a055781c62dec3cdeb4d8104a7c2c29304..07e9e8519b3c9625bc156a007259500b66c6d658 100644 (file)
@@ -247,7 +247,8 @@ static size_t ZSTD_continueCCtx(ZSTD_CCtx* cctx, ZSTD_parameters params, U64 fra
     cctx->dictID = 0;
     cctx->loadedDictEnd = 0;
     { int i; for (i=0; i<ZSTD_REP_NUM; i++) cctx->rep[i] = repStartValue[i]; }
-    cctx->seqStore.litLengthSum = 0;  /* force reset stats */
+    cctx->seqStore.litLengthSum = 0;  /* force reset of btopt stats */
+    XXH64_reset(&cctx->xxhState, 0);
     return 0;
 }