pub fn par_range(range: Range<usize>, op: impl Fn(usize) + Dss)Expand description
Executes the given action op with each index from range range in parallel
if the parallel frontend is enabled, otherwise executes them sequentially. Action
is executed with each index under parallel guard in both scenarios so if one of them
panics all others will be executed anyway.