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

optimize util.crc32 #1304

Merged
merged 2 commits into from
Dec 8, 2017
Merged

optimize util.crc32 #1304

merged 2 commits into from
Dec 8, 2017

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Nov 20, 2017

No description provided.

@dpkp
Copy link
Owner

dpkp commented Dec 5, 2017

Apologies -- all test fixtures were failing due to an unrelated issue. Please pull latest changes from master and re-run tests.

crc -= TO_SIGNED
return crc
else:
def crc32(data):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could also just be from binascii import crc32

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaned up in 04fb37f

@dpkp dpkp merged commit 2c8748c into dpkp:master Dec 8, 2017
@dpkp
Copy link
Owner

dpkp commented Dec 8, 2017

Thanks!

@ofek
Copy link
Contributor Author

ofek commented Dec 9, 2017

Thank you both!

@ofek ofek deleted the patch-1 branch December 9, 2017 04:55
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