Skip to content
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

add deflate.crc32 api? #11

Closed
ThomasWaldmann opened this issue Feb 27, 2022 · 1 comment
Closed

add deflate.crc32 api? #11

ThomasWaldmann opened this issue Feb 27, 2022 · 1 comment

Comments

@ThomasWaldmann
Copy link
Collaborator

ThomasWaldmann commented Feb 27, 2022

Hi Dan,

greetings from borgbackup development!

We currently discuss about getting rid of some code we have bundled and currently there is only crc32 code left.

We were searching where we could get some fast crc32 from and found libdeflate and your python wrapper for it.

Discussion: borgbackup/borg#6316

Do you think a crc32 api could be added, so we could easily use it?

@ghost
Copy link

ghost commented Feb 27, 2022

I've written a simple wrapper that should work as is unless there's something wrong with the function aesthetics (like no keywords, not that they're needed for a function as simple as crc32).

dcwatson added a commit that referenced this issue Feb 28, 2022
Expose libdeflate's crc32 algorithm, closes #11
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

No branches or pull requests

1 participant