Optimization: High-performance AVR SHA1 (~135% hashrate increase)#1909
Open
seilaman2210-rgb wants to merge 3 commits into
Open
Optimization: High-performance AVR SHA1 (~135% hashrate increase)#1909seilaman2210-rgb wants to merge 3 commits into
seilaman2210-rgb wants to merge 3 commits into
Conversation
Added information about memory usage and optimization in comments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This request is a major optimization for Arduino_Code with almost 135%+ performance compared with the original version
Highlights:
Benchmarks (Arduino UNO)
Stability:
IDE output:
Sketch: 10,550 bytes (32%) of program storage space.
Dynamic Memory: 394 bytes (19%) of RAM.
Leaves 1,654 bytes for local variables.
Notes:
This is my first time making a PR on GitHub. If I made any mistakes regarding the commit structure or formatting, please let me know and I will fix them as soon as possible. If you find any errors or instability in the code, I am ready to provide fixes
i just forgot to add, but this script was inspired by JK Rolling's code (the max 721hs one), thanks to them!