Skip to content

Commit

Permalink
Adjust SHA256 benchmark code
Browse files Browse the repository at this point in the history
There are a few changes:
- Using `Sha256::digest` directly instead of creating a mutable hasher object
- Using `stack-size=2048` to change the memory address of data region
- Simpler equality check of u8 arrays instead of chunked u64 integers

See the new code in: https://gist.github.com/akashin/89f2dd88ee267681f87882d27e428e55
  • Loading branch information
aborg-dev committed Jan 30, 2024
1 parent ca0d6dc commit 0ae4aa8
Show file tree
Hide file tree
Showing 2 changed files with 783 additions and 1,724 deletions.
Loading

0 comments on commit 0ae4aa8

Please sign in to comment.