Skip to content

Conversation

@klauspost
Copy link
Owner

When IgnoreChecksum(true) was used, single threaded decodes would not consume CRC.

Bonus: Remove crc build tag for fuzzing.

@klauspost klauspost force-pushed the fix-missing-crc-consume branch from 8e3eb92 to f04a617 Compare May 6, 2022 13:54
When `IgnoreChecksum(true)` was used, single threaded decodes would not consume CRC.

Bonus: Remove crc build tag for fuzzing.
@klauspost klauspost force-pushed the fix-missing-crc-consume branch from f04a617 to 3c12593 Compare May 6, 2022 14:00
@klauspost klauspost merged commit 50ba006 into master May 6, 2022
@klauspost klauspost deleted the fix-missing-crc-consume branch May 6, 2022 14:24
@WojciechMula
Copy link
Contributor

Oh, sorry for that. :( I'll try to add some unit tests to cover that case.

BTW, we already used this feature and in a real workload not checking CRC gave us 1.25x speedup! (Yeah, at cost of data corruption in case of cosmic ray hit.)

@klauspost
Copy link
Owner Author

No worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants