cheesecakecat/zig-crc32c
A lightweight CRC32C (Castagnoli) implementation in Zig with hardware acceleration and fault tolerance.
A CRC32C (Castagnoli) implementation in Zig featuring hardware acceleration and Triple Modular Redundancy for fault tolerance.
Measured on x86_64 with SSE4.2 (Debug build):
Implementation | Buffer Size | Cycles/Byte |
---|---|---|
Hardware | 4KB | ~4 |
Hardware | 256B | ~8 |
Software | 4KB | ~35 |
Software | 256B | ~45 |
zig build test
MIT - See LICENSE