Future use of core::simd
and moving to SIMD-based vectorized implementations
#264
Labels
core::simd
and moving to SIMD-based vectorized implementations
#264
Portable SIMD has landed in nightly Rust
core::simd
[1]. We should investigate if using SIMD in Orion is a viable option. For example, ChaCha20 can be vectorized[2], which could provide quite substantial performance benefits.What needs to be figured out:
core::simd
and potentiallystd::simd
(?)unsafe
code if utilized within Orion?simd
would requirestd
for some unknown reason, do we want to consider providing vectorized implementations forsafe-api
only?non-std
targets? What would the impact on WASM support be here?[1]: Most of the work seems to happen over here https://github.com/rust-lang/portable-simd
[2]: https://eprint.iacr.org/2013/759.pdf
The text was updated successfully, but these errors were encountered: