no need for specialized variant
the branch is not in the hot loop
This commit is contained in:
@@ -7297,7 +7297,7 @@ convertSequences_noRepcodes(SeqDef* dstSeqs,
|
||||
* This is helpful to generate a lean main pipeline, improving performance.
|
||||
* It may be re-inserted later.
|
||||
*/
|
||||
static size_t ZSTD_convertBlockSequences_internal(ZSTD_CCtx* cctx,
|
||||
size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx,
|
||||
const ZSTD_Sequence* const inSeqs, size_t nbSequences,
|
||||
int repcodeResolution)
|
||||
{
|
||||
@@ -7379,20 +7379,6 @@ static size_t ZSTD_convertBlockSequences_internal(ZSTD_CCtx* cctx,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static size_t ZSTD_convertBlockSequences_noRepcode(ZSTD_CCtx* cctx,
|
||||
const ZSTD_Sequence* const inSeqs, size_t nbSequences)
|
||||
{
|
||||
return ZSTD_convertBlockSequences_internal(cctx, inSeqs, nbSequences, 0);
|
||||
}
|
||||
|
||||
size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx,
|
||||
const ZSTD_Sequence* const inSeqs, size_t nbSequences,
|
||||
int repcodeResolution)
|
||||
{
|
||||
(void)repcodeResolution;
|
||||
return ZSTD_convertBlockSequences_internal(cctx, inSeqs, nbSequences, 0);
|
||||
}
|
||||
|
||||
#if defined(__AVX2__)
|
||||
|
||||
/* C90-compatible alignment macro (GCC/Clang). Adjust for other compilers if needed. */
|
||||
|
||||
Reference in New Issue
Block a user