long offset mode : new default threshold for 64-bits mode

This commit is contained in:
Yann Collet 2018-03-05 16:16:49 -08:00
parent c0393a538f
commit 7bd7a3ad43

View File

@ -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);
}