Skip to content

Commit 582db6b

Browse files
committed
clarify workers to limit cores
1 parent 1b09195 commit 582db6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Iterable.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ where items are processed in parallel and the output order does not matter.
9090
=head3 Options degree and batch
9191
9292
The C<degree> option (short for "degree of parallelism") configures how many parallel workers
93-
should be started. To limit the processing to 4 cores, pass C<:4degree> to the C<hyper> or
93+
should be started. To start 4 workers (e.g. to use at most 4 cores), pass C<:4degree> to the C<hyper> or
9494
C<race> method. Note that in some cases, choosing a degree higher than the available CPU cores
9595
can make sense, for example I/O bound work or latency-heavy tasks like web crawling. For
9696
CPU-bound work, however, it makes no sense to pick a number higher than the CPU core count.

0 commit comments

Comments
 (0)