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

Replaced 256 entry CRC8 table with tiny 2x16 entry table #55

Merged
merged 1 commit into from Mar 12, 2018

Conversation

Projects
None yet
2 participants
@arjenlentz
Copy link
Contributor

commented Mar 11, 2018

Hi Paul - here's a little contribution, replacing the 256 byte CRC8 lookup table with a 2x16 byte one, thus saving 224 bytes.
See http://lentz.com.au/blog/calculating-crc-with-a-tiny-32-entry-lookup-table for details on how it works.

@PaulStoffregen PaulStoffregen merged commit 84a4ac0 into PaulStoffregen:master Mar 12, 2018

@PaulStoffregen

This comment has been minimized.

Copy link
Owner

commented Mar 12, 2018

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.