You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Type/Iterable.pod6
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ The order of elements is preserved.
84
84
say ([1..100].hyper.map({ $_ +1 }).list);
85
85
86
86
Use C<hyper> in situations where it is OK to do the processing of items in parallel, and
87
-
the output order should be kept relative to the input order. See L<race|routine/race> for situations
87
+
the output order should be kept relative to the input order. See L«C<race>|/routine/race» for situations
88
88
where items are processed in parallel and the output order does not matter.
89
89
90
90
=head3Options degree and batch
@@ -121,15 +121,15 @@ Defined as:
121
121
Returns another Iterable that is potentially iterated in parallel, with a
122
122
given batch size and degree of parallelism (number of parallel workers).
123
123
124
-
Unlike C<hyper>, C<race> does not preserve the order of elements.
124
+
Unlike L«C<hyper>|/routine/hyper», C<race> does not preserve the order of elements.
125
125
126
126
say ([1..100].race.map({ $_ +1 }).list);
127
127
128
-
Use race in situations where it is OK to do the processing of items in parallel, and the output order does not matter. See L<hyper|routine/hyper> for situations where you want items processed in parallel and the output order should be kept relative to the input order.
128
+
Use race in situations where it is OK to do the processing of items in parallel, and the output order does not matter. See L«C<hyper>|/routine/hyper» for situations where you want items processed in parallel and the output order should be kept relative to the input order.
129
129
130
130
B«L<Blog post on the semantics of hyper and race|https://6guts.wordpress.com/2017/03/16/considering-hyperrace-semantics/>»
131
131
132
-
See C<hyper> for an explanation of :$batch and :$degree.
132
+
See L«C<hyper>|/routine/hyper» for an explanation of :$batch and :$degree.
0 commit comments