]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Rename longest_match_slow to longest_match_roll
authorNathan Moin Vaziri <nathan@nathanm.com>
Mon, 13 Apr 2026 22:26:24 +0000 (15:26 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 16 Apr 2026 18:04:55 +0000 (20:04 +0200)
commita209cd5da4055d730f3546dc7fdff0f75ce418e6
tree3929eb9cb984c4bf683d1b86c0fd491ae093f9a2
parentc948fdb4512a0e475cde16f40167337b95b52dd0
Rename longest_match_slow to longest_match_roll

The "slow" variant of longest_match uses a 3-byte rolling hash to seed
its offset-search lookups after a match has been found. Rename the
template gate, the functable entry, and all arch-specific instantiations
from *_slow to *_roll to reflect what the variant actually uses, so a
separate integer-hash offset-search variant can coexist under its own
name.

Pure rename, no behavior change.
19 files changed:
arch/arm/arm_functions.h
arch/arm/compare256_neon.c
arch/generic/compare256_c.c
arch/generic/generic_functions.h
arch/loongarch/compare256_lasx.c
arch/loongarch/compare256_lsx.c
arch/loongarch/loongarch_functions.h
arch/power/compare256_power9.c
arch/power/power_functions.h
arch/riscv/compare256_rvv.c
arch/riscv/riscv_functions.h
arch/x86/compare256_avx2.c
arch/x86/compare256_avx512.c
arch/x86/compare256_sse2.c
arch/x86/x86_functions.h
deflate_slow.c
functable.c
functable.h
match_tpl.h