]> git.ipfire.org Git - thirdparty/zstd.git/commit
Simplified compressChunk job
authorYann Collet <cyan@fb.com>
Thu, 19 Jan 2017 18:18:17 +0000 (10:18 -0800)
committerYann Collet <cyan@fb.com>
Thu, 19 Jan 2017 18:18:17 +0000 (10:18 -0800)
commit37226c1e9f968dd1a0f4bdbcfaf54716aa88697d
treebab83200a93c223951d40b283fa8668b10521b2f
parent6073b3e6b86488d1d6963b7dbf3fedf34ac7158e
Simplified compressChunk job

minor refactoring : compression done in a single call on first chunk
Avoid a mutable hSize variable and eventual recombination to cSize at the end
lib/compress/zstdmt_compress.c