Skip to content

Commit f71ec6b

Browse files
committed
Explain the relation of Parallel::with_min_len with Rayon's IndexedParallelIterator::with_min_len in the module-level docs.
1 parent f596c9e commit f71ec6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/parallel/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
//! “unindexed”. Use ndarray’s [Zip] for lock step parallel iteration of
3333
//! multiple arrays or producers at a time.
3434
//!
35+
//! For the unindexed parallel iterators, an inherent method [`with_min_len`](Parallel::with_min_len)
36+
//! is provided to limit the number of elements each parallel task processes in way that is
37+
//! similar to Rayon's [`IndexedParallelIterator::with_min_len`](rayon::prelude::IndexedParallelIterator::with_min_len).
38+
//!
3539
//! # Examples
3640
//!
3741
//! ## Arrays and array views

0 commit comments

Comments
 (0)