duino-coin
duino-coin copied to clipboard
Boost AVR hashrate from 342H/s to 721H/s
This PR uses AVR25 assembly to optimize sha1_rotl of 5 and 30 to achieve performance boost of 210%
This works nice, but difficulty is set to 128, so double the hash rate bur 12x the difficulty.
Would this PR replace the actual files used in all AVR codes or be an "optional" feature ?
For now this would be used on all AVR. But from perspective of compatibility with various uC, I'm thinking to make this optional first. I'll recommend to reject this PR first so the code can be better handled. will submit a new PR later