Skip to content

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

Merged
PaulStoffregen merged 1 commit into
PaulStoffregen:masterfrom
arjenlentz:arjen-tinycrc
Mar 12, 2018
Merged

Replaced 256 entry CRC8 table with tiny 2x16 entry table#55
PaulStoffregen merged 1 commit into
PaulStoffregen:masterfrom
arjenlentz:arjen-tinycrc

Conversation

@arjenlentz

@arjenlentz arjenlentz commented Mar 11, 2018

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Owner

thanks!

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.

2 participants