Skip to content

Commit

Permalink
Fix chacha performance
Browse files Browse the repository at this point in the history
This reverts a change from rust-random#979 that introduced a massive performance
regression by disabling SIMD for `rand_chacha`.

Likely, the behavior of `ppv-lite86` should rather be fixed. This change
serves as a workaround until a fixed version is available.

Fixes rust-random#1017.
  • Loading branch information
vks committed Aug 24, 2020
1 parent 0f933f9 commit ad2ea0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_chacha/Cargo.toml
Expand Up @@ -20,7 +20,7 @@ appveyor = { repository = "rust-random/rand" }

[dependencies]
rand_core = { path = "../rand_core", version = "0.5" }
ppv-lite86 = { version = "0.2.8", default-features = false }
ppv-lite86 = { version = "0.2.8", default-features = false, features = ["simd"] }

[features]
default = ["std"]
Expand Down

0 comments on commit ad2ea0a

Please sign in to comment.