]> git.ipfire.org Git - thirdparty/zstd.git/commit
sizeBlockSequences() also tracks uncompressed size 3917/head
authorYann Collet <cyan@fb.com>
Mon, 26 Feb 2024 22:31:12 +0000 (14:31 -0800)
committerYann Collet <cyan@fb.com>
Mon, 26 Feb 2024 22:31:12 +0000 (14:31 -0800)
commit8d31e8ec42a736bf7cc70f9f21e9c1afc920c148
tree5366bc0d5e6ea3d1a0accabad047d1d6b5daf8de
parentd23b95d21d5cb9c5378b3537271dbbff7cdb49b7
sizeBlockSequences() also tracks uncompressed size

and only defines a sub-block boundary when
it believes that it is compressible.

It's effectively an optimization,
avoiding a compression cycle to reach the same conclusion.
lib/compress/zstd_compress_superblock.c