Skip to content

Commit

Permalink
parallel exponent chunk to regain performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
XuyangSong committed May 13, 2022
1 parent 9bb30a7 commit 0da0d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiexp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ where
// Split the exponents into chunks.
let exponents = Arc::new(
exponents
.iter()
.par_iter()
.map(|exp| exp.chunks(c as usize))
.collect::<Vec<_>>(),
);
Expand Down

0 comments on commit 0da0d3f

Please sign in to comment.