Searched refs:optLevel (Results 1 – 1 of 1) sorted by relevance
172 int const optLevel) in ZSTD_getMatchPrice() argument183 …if ((optLevel<2) /*static*/ && offCode >= 20) price += (offCode-19)*2; /* handicap for long distan… in ZSTD_getMatchPrice()670 const int optLevel, const int extDict) in ZSTD_compressBlock_opt_generic() argument739 … U32 const matchPrice = literalsPrice + ZSTD_getMatchPrice(offset, pos, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()781 if ( (optLevel==0) /*static*/ in ZSTD_compressBlock_opt_generic()819 … int const price = basePrice + ZSTD_getMatchPrice(offset, mlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()831 … if (optLevel==0) break; /* gets ~+10% speed for about -0.01 ratio loss */ in ZSTD_compressBlock_opt_generic()