IMPORT: slz: use the generic function for the last bytes of the crc32
authorWilly Tarreau <w@1wt.eu>
Wed, 12 May 2021 06:34:36 +0000 (08:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 May 2021 07:29:29 +0000 (09:29 +0200)
commit027fdcb16894b0239e0659de7a20f0624fc89f30
treee8dfb73710642d7837a5b52bdbc4a6a323d8d72f
parentdec1c36b3a4a2856496fd2ed79735a11818e7e56
IMPORT: slz: use the generic function for the last bytes of the crc32

This is the only place where we conditionally use the crc32_fast table,
better call the crc32_char inline function for this. This should also
reduce by ~1kB the L1 cache footprint of the compression when dealing
with small blocks, and at least shows a consistent 0.5% perf improvement.

This is slz upstream commit 075351b6c2513b548bac37d6582e46855bc7b36f.
src/slz.c