Skip to content

Commit

Permalink
Merge #897
Browse files Browse the repository at this point in the history
897: Use the wording 'rayon job' for with_min/max_len r=cuviper a=bluss

Because it depends on scheduling and job size how many jobs are
processed per thread, it seems more consistent to say rayon job here.

Co-authored-by: Ulrik Sverdrup <bluss@users.noreply.github.com>
  • Loading branch information
bors[bot] and bluss authored Apr 1, 2022
2 parents f57bfa5 + 0966084 commit 67c2565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2808,7 +2808,7 @@ pub trait IndexedParallelIterator: ParallelIterator {
}

/// Sets the minimum length of iterators desired to process in each
/// thread. Rayon will not split any smaller than this length, but
/// rayon job. Rayon will not split any smaller than this length, but
/// of course an iterator could already be smaller to begin with.
///
/// Producers like `zip` and `interleave` will use greater of the two
Expand All @@ -2834,7 +2834,7 @@ pub trait IndexedParallelIterator: ParallelIterator {
}

/// Sets the maximum length of iterators desired to process in each
/// thread. Rayon will try to split at least below this length,
/// rayon job. Rayon will try to split at least below this length,
/// unless that would put it below the length from `with_min_len()`.
/// For example, given min=10 and max=15, a length of 16 will not be
/// split any further.
Expand Down

0 comments on commit 67c2565

Please sign in to comment.