fletcher-simd
A SIMD implementation of the Fletcher's checksum algorithm.
Note: This implementation uses a modulus of 2^k where k is the checksum block size in bits, as this is fast with wrapping math. Other implementations may use 2^k - 1.
Features
- Uses
std::simd, which currently requires nightly. - Supports all architectures supported by
std::simd. - Both run-time and compile-time detection available via the
multiversioncrate. - Scalar fallback.
Example
use ;
use Fletcher128;