Open
Description
ZSTD_estimateCCtxSize_usingCCtxParams_internal()
currently takes a long list of parameters. Some (all?) of the parameters are extracted from external ZSTD_CCtx_params
objects and passed in one by one. It would be cleaner to reduce the number of parameters by directly passing in a ZSTD_CCtx_params const*
.
This should be an easy refactor. Code pointer:
zstd/lib/compress/zstd_compress.c
Lines 1488 to 1495 in 90597d7