[Enhancement] Reduce CPU cycles on Crc32Computer
koculu opened this issue · comments
What kind of enhancement you would like to have? Please describe.
This is a performance improvement request.
Describe the enhancement you'd like
Crc32Computer checks CPU architecture for every byte. Reduce the unnecessary conditional CPU instructions.
maybe we need XXHash will be better ? (in .net XXHash will come in .net 8.0 )
We use CPU instructions to calculate Crc32. I am not sure if it would make a difference.
We use CPU instructions to calculate Crc32. I am not sure if it would make a difference.
You are right, crc32 can get hardware acceleration.