Closed twoeths closed 4 months ago
Is your feature request related to a problem? Please describe.
With simd supported in assembly script, we can use it to hash multiple inputs in parallel, especially the digest64() method
digest64()
Describe the solution you'd like
Use simd instruction in assembly script, we can hash 4 different inputs at the same time which is respective to v128 data structure
Additional context
A POC is available in tuyen/digest_64_simd branch. Benchmark result:
tuyen/digest_64_simd
Is your feature request related to a problem? Please describe.
With simd supported in assembly script, we can use it to hash multiple inputs in parallel, especially the
digest64()
methodDescribe the solution you'd like
Use simd instruction in assembly script, we can hash 4 different inputs at the same time which is respective to v128 data structure
Additional context
A POC is available in
tuyen/digest_64_simd
branch. Benchmark result: