Skip to content

Use crc32c crate #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Use crc32c crate #20

wants to merge 2 commits into from

Conversation

GabrielMajeri
Copy link

Rust 1.27 added stable SIMD support. The crc32c crate has been updated to work on stable.

This pull request replaces the crate's CRC32-Castagnoli implementation with the one from the crc32c crate.

Fixes #19.

Note: since 1.27 has just been released, we might want to wait until some time passes so that users of this crate update their Rust compiler version.

@BurntSushi
Copy link
Owner

Thanks! Note that it will be at least a few release cycles before I'd be willing to merge this.

@ratijas
Copy link

ratijas commented Jan 14, 2019

bump

BurntSushi added a commit that referenced this pull request Feb 12, 2020
We avoid bring in another crate since the code to do this is so small
and reasonably simple. Surprisingly, this results in fairly marginal
performance gains.

Closes #20
BurntSushi added a commit that referenced this pull request Feb 12, 2020
We avoid bring in another crate since the code to do this is so small
and reasonably simple. Surprisingly, this results in fairly marginal
performance gains.

Closes #20
BurntSushi added a commit that referenced this pull request Feb 12, 2020
We avoid bring in another crate since the code to do this is so small
and reasonably simple. Surprisingly, this results in fairly marginal
performance gains.

Closes #20
BurntSushi added a commit that referenced this pull request Feb 14, 2020
We avoid bring in another crate since the code to do this is so small
and reasonably simple. Surprisingly, this results in fairly marginal
performance gains.

Closes #19, Closes #20
BurntSushi added a commit that referenced this pull request Feb 14, 2020
We avoid bring in another crate since the code to do this is so small
and reasonably simple. Surprisingly, this results in fairly marginal
performance gains.

Closes #19, Closes #20
@GabrielMajeri GabrielMajeri deleted the crc32 branch February 18, 2020 06:40
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.

Use std::arch for crc checking if available
3 participants