From: Yann Collet Date: Tue, 6 Mar 2018 00:16:49 +0000 (-0800) Subject: long offset mode : new default threshold for 64-bits mode X-Git-Tag: v1.3.4~1^2~39^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd7a3ad432b2102dbb33b88c12a9e05d693df0e;p=thirdparty%2Fzstd.git long offset mode : new default threshold for 64-bits mode --- diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c index b28bcae63..ef6e16d3f 100644 --- a/lib/decompress/zstd_decompress.c +++ b/lib/decompress/zstd_decompress.c @@ -1333,7 +1333,7 @@ static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx, if (dctx->fParams.windowSize > (1<<24)) { U32 const shareLongOffsets = ZSTD_getLongOffsetsShare(dctx->OFTptr); - U32 const minShare = MEM_64bits() ? 5 : 13; + U32 const minShare = MEM_64bits() ? 7 : 13; if (shareLongOffsets >= minShare) return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset); }