]> git.ipfire.org Git - thirdparty/zstd.git/commit
ZSTD_createCCtx_advanced() now uses ZSTD_calloc()
authorYann Collet <cyan@fb.com>
Wed, 31 May 2017 00:45:37 +0000 (17:45 -0700)
committerYann Collet <cyan@fb.com>
Wed, 31 May 2017 00:45:37 +0000 (17:45 -0700)
commitc4f46b94ce6ba497c75b0b44d9e45a0d2872602d
tree1da9b1e7999b278a32a714e106e3c22ecfff1e59
parentdeee6e523f81671e84f93ceb6be3e1a47387cc25
ZSTD_createCCtx_advanced() now uses ZSTD_calloc()

initially uses calloc() instead of memset().

Performance improvement is unlikely measurable,
since ZSTD_CCtx is now very small,
with all tables transferred into workSpace.
lib/compress/zstd_compress.c