1
0
mirror of https://github.com/facebook/zstd.git synced 2025-12-06 11:41:02 +03:00

Remove Out-of-Date Comment

This commit is contained in:
W. Felix Handte
2018-05-15 15:41:37 -04:00
parent 95bdf20a87
commit a44ab3b475

View File

@@ -1207,7 +1207,6 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
/* We have a choice between copying the dictionary context into the working /* We have a choice between copying the dictionary context into the working
* context, or referencing the dictionary context from the working context * context, or referencing the dictionary context from the working context
* in-place. We decide here which strategy to use. */ * in-place. We decide here which strategy to use. */
/* TODO: pick reasonable cut-off size, handle ZSTD_CONTENTSIZE_UNKNOWN */
int attachDict = ( pledgedSrcSize <= 8 KB int attachDict = ( pledgedSrcSize <= 8 KB
|| pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN ) || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )
&& cdict->cParams.strategy == ZSTD_fast && cdict->cParams.strategy == ZSTD_fast