Commit 2f0c651
committed
Merge rust-bitcoin#4963: Add bench for
589cebc hashes: Add bench for `sha3_256` (rustaceanrob)
Pull request description:
Following up on the addition of the SHA3-256 hash, it may be worthwhile to strive for improvements. In my runs of the benchmark, small slices perform poorly, indicating to me there may be something wrong with the padding. As input size increases the hash is on the order of the slower hashes in the library, which is acceptable for the use case. Those that want to try to improve the hash will need this bench.
ACKs for top commit:
apoelstra:
ACK 589cebc; successfully ran local tests
tcharding:
ACK 589cebc
Tree-SHA512: 0114882e502f4abd2212a39ec08e1527e7f05b802bebaf744590fbaa04b3cd314b536fff9eae4b8fe3445a9cb0c95094e54d8c27ca54cec7f26ccc6d34470f99sha3_256
2 files changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments