1
0
mirror of https://github.com/facebook/zstd.git synced 2025-11-30 11:21:33 +03:00

Pull block compression out of main compressSequences() function

This commit is contained in:
senhuang42
2020-10-28 11:50:38 -04:00
parent cfced9344a
commit 2cff8df1a2
2 changed files with 40 additions and 30 deletions

View File

@@ -497,9 +497,6 @@ static void ZSTD_safecopyLiterals(BYTE* op, BYTE const* ip, BYTE const* const ie
HINT_INLINE UNUSED_ATTR
void ZSTD_storeSeq(seqStore_t* seqStorePtr, size_t litLength, const BYTE* literals, const BYTE* litLimit, U32 offCode, size_t mlBase)
{
if (offCode <= 3) {
printf("of: %u ml: %u ll: %u\n", offCode, mlBase, litLength);
}
BYTE const* const litLimit_w = litLimit - WILDCOPY_OVERLENGTH;
BYTE const* const litEnd = literals + litLength;
#if defined(DEBUGLEVEL) && (DEBUGLEVEL >= 6)