long offset mode : new default threshold for 32-bit
parent
7bd7a3ad43
commit
9a91afe6ef
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue