Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on 24 days of Rust – Rayon. Parent comment
You are aware of it. You put the par_iter() call there. Rust won't magically parallelize regular .iter() loops.
If you don't want to reason about parallelism, don't use Rayon. That's pretty explicit.
There are no comments on this comment yet.
You are aware of it. You put the par_iter() call there. Rust won't magically parallelize regular .iter() loops.
If you don't want to reason about parallelism, don't use Rayon. That's pretty explicit.