mirror of
https://github.com/facebook/zstd.git
synced 2024-11-28 05:36:45 +08:00
clean traces
This commit is contained in:
parent
2618253da2
commit
419dfd4ea3
@ -1041,7 +1041,6 @@ size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
|
|||||||
size_t const dictSize = (const char*)dctx->prefixStart - (const char*)dctx->virtualStart;
|
size_t const dictSize = (const char*)dctx->prefixStart - (const char*)dctx->virtualStart;
|
||||||
size_t const pSize = MIN(dictSize, (size_t)(64*nbSeq));
|
size_t const pSize = MIN(dictSize, (size_t)(64*nbSeq));
|
||||||
const void* const pStart = (const char*)dctx->dictEnd - pSize;
|
const void* const pStart = (const char*)dctx->dictEnd - pSize;
|
||||||
DEBUGLOG(2, "dictSize: %zu ; prefetchSize: %zu", dictSize, pSize);
|
|
||||||
PREFETCH_AREA(pStart, pSize);
|
PREFETCH_AREA(pStart, pSize);
|
||||||
dctx->ddictIsCold = 0;
|
dctx->ddictIsCold = 0;
|
||||||
}
|
}
|
||||||
@ -2384,7 +2383,7 @@ size_t ZSTD_decompressBegin_usingDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict)
|
|||||||
assert(dctx != NULL);
|
assert(dctx != NULL);
|
||||||
if (ddict) {
|
if (ddict) {
|
||||||
dctx->ddictIsCold = (dctx->dictEnd != (const char*)ddict->dictContent + ddict->dictSize);
|
dctx->ddictIsCold = (dctx->dictEnd != (const char*)ddict->dictContent + ddict->dictSize);
|
||||||
DEBUGLOG(2, "DDict is %s",
|
DEBUGLOG(4, "DDict is %s",
|
||||||
dctx->ddictIsCold ? "~cold~" : "hot!");
|
dctx->ddictIsCold ? "~cold~" : "hot!");
|
||||||
}
|
}
|
||||||
CHECK_F( ZSTD_decompressBegin(dctx) );
|
CHECK_F( ZSTD_decompressBegin(dctx) );
|
||||||
|
Loading…
Reference in New Issue
Block a user