]> git.ipfire.org Git - thirdparty/zstd.git/commit
zstd_opt: minor speed optimization
authorYann Collet <cyan@fb.com>
Sun, 19 Nov 2017 00:24:02 +0000 (16:24 -0800)
committerYann Collet <cyan@fb.com>
Sun, 19 Nov 2017 00:24:02 +0000 (16:24 -0800)
commite717a5b0ddb478108f826076f3efef3a17735735
tree711e8835ccc15a0ba6d03beaff2b4686d3317069
parentdaebc7fe26f70896c3a51d96f287012128b4ce36
zstd_opt: minor speed optimization

Calculate reference log2sums only once per serie of sequence
(as opposed to once per sequence)

Also: improved code comments
lib/compress/zstd_compress_internal.h
lib/compress/zstd_opt.c