long offset mode : new default threshold for 32-bit

dev
Yann Collet 2018-03-05 16:41:08 -08:00
parent 7bd7a3ad43
commit 9a91afe6ef
1 changed files with 1 additions and 1 deletions

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() ? 7 : 13;
U32 const minShare = MEM_64bits() ? 7 : 20;
if (shareLongOffsets >= minShare)
return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset);
}