Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
None
-
1
Description
On .NET 5 and later we can use ARM intrinsics to perform CRC32 calculations for key hashes. This will improve performance whenever we're running on ARM CPUs.
Example implementation: https://github.com/brantburnett/Snappier/blob/77dc523e57b04d498953e629292254e02360dd39/Snappier/Internal/Crc32CAlgorithm.cs#L49-L79
Note the above example is CRC32C, but there are matching intrinsics for CRC32.