On 31/10/2024 21:15, Simon Josefsson wrote:
Pádraig Brady <p...@draigbrady.com> writes:
I'd be reluctant to complicate the gnulib implementations with variants unless
needed.
I'd be especially reluctant to add the existing cksum crc variant to gnulib,
since I don't see anything but cksum itself using that.
Is there some performance optimization in coreutils cksum?
I think gnulib could contain various crc variants, if some applications
desire them. But maybe getting the performance improvement into gzip is
good enough.
/Simon
Yes the coreutils crc variant has a slice by 8 implementation,
but we also have a pclmul implementation which is used automatically
on appropriate hardware.
cheers,
Pádraig.