New issue
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
replace all "crypto/sha256" imports with "github.com/minio/sha256-simd" #5391
Conversation
This change replaces all imports of "crypto/sha256" with "github.com/minio/sha256-simd". The sha256-simd package is faster on ARM64 (NEON instructions) and can take advantage of AVX-512 in certain scenarios. Fixes minio#5374
Codecov Report
@@ Coverage Diff @@
## master #5391 +/- ##
==========================================
- Coverage 61.27% 61.24% -0.04%
==========================================
Files 201 201
Lines 29297 29297
==========================================
- Hits 17951 17942 -9
- Misses 9955 9963 +8
- Partials 1391 1392 +1
Continue to review full report at Codecov.
|
Mint Automation
5391-3727ce0/mint-xl.sh.log:
5391-3727ce0/mint-gateway-azure.sh.log:
5391-3727ce0/mint-gateway-s3.sh.log:
5391-3727ce0/mint-dist-xl.sh.log:
5391-3727ce0/mint-fs.sh.log:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This change replaces all imports of "crypto/sha256" with
"github.com/minio/sha256-simd". The sha256-simd package
is faster on ARM64 (NEON instructions) and can take advantage
of AVX-512 in certain scenarios.
Motivation and Context
Fixes #5374
How Has This Been Tested?
Manually.
Types of changes
Checklist:
mint
PR # here: )