force-net / Crc32.NET

Fast version of Crc32 algorithm for .NET
MIT License
199 stars 52 forks source link

Hardware intrinsics #23

Open EduardSergeev opened 1 year ago

EduardSergeev commented 1 year ago

Latest .NET frameworks have better support for hardware-accelerated CRC32 implementations:

Note: Arm does support both CRC32 and CRC32C (since ARMv8.1) as does System.Runtime.Intrinsics.Arm (since .NET 5): CRC32 and CRC32C.

Test results (.NET 7):

Fixes #16