]> git.ipfire.org Git - thirdparty/zstd.git/commit
updated ZSTD_estimateCCtxSize()
authorYann Collet <cyan@fb.com>
Tue, 9 May 2017 00:07:59 +0000 (17:07 -0700)
committerYann Collet <cyan@fb.com>
Tue, 9 May 2017 00:07:59 +0000 (17:07 -0700)
commitfc5145955a0c53a9157579ce9dc2abcadeff5e32
tree489e648362ea837af8a02fd3d66871090b9ba7a4
parent791d74427925351c776de1e94ea701a41e894e20
updated ZSTD_estimateCCtxSize()

added a parameter streaming,
to estimate memory allocation size
when the CCtx is used for streaming (CStream).

Note : this function is not able to estimate
memory cost of a potential internal CDict
which can only happen when starting with ZSTD_initCStream_usingDict()
doc/zstd_manual.html
lib/compress/zstd_compress.c
lib/zstd.h
tests/paramgrill.c