We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
calculate_crc() uses a computed crc_table to speed crc calculation up.
But this crc_table is calculated each time, for each command sent to the card, when it should be calculated once on module loading.
Moving this calculation at modules level helps making adafruit_sdcard.py faster.
The text was updated successfully, but these errors were encountered:
oh wow yeah! do you want to try submitting a PR for this, and testing it on your pygamer? then we could merge it in :)
Sorry, something went wrong.
Done in #23
Fixed in 21b7528, thanks for merging !
No branches or pull requests
calculate_crc() uses a computed crc_table to speed crc calculation up.
But this crc_table is calculated each time, for each command sent to the card, when it should be calculated once on module loading.
Moving this calculation at modules level helps making adafruit_sdcard.py faster.
The text was updated successfully, but these errors were encountered: