]> git.ipfire.org Git - thirdparty/zstd.git/commit
made search strategy switchable
authorYann Collet <yann.collet.73@gmail.com>
Tue, 8 Oct 2024 18:43:07 +0000 (11:43 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Tue, 8 Oct 2024 20:52:56 +0000 (13:52 -0700)
commit186b1324951f2505469a3415aaf8ddc3398b9fca
treec3803df17811d44f817685ad5de6bab9da5663fb
parent2cc600bab21657ccf966ceadfeb316e2eacff25c
made search strategy switchable

between cmov and branch
and use a simple heuristic based on wlog to select between them.

note: performance is not good on clang (yet)
lib/compress/zstd_compress_internal.h
lib/compress/zstd_fast.c