In role Iterable§

See primary documentation in context for method hyper

method hyper(Int(Cool:$batch = 64Int(Cool:$degree = 4)

Returns another Iterable that is potentially iterated in parallel, with a given batch size and degree of parallelism.

The order of elements is preserved.

say ([1..100].hyper.map({ $_ +1 }).list);

Use hyper in situations where it is OK to do the processing of items in parallel, and the output order should be kept relative to the input order. See race for situations where items are processed in parallel and the output order does not matter.

In RaceSeq§

See primary documentation in context for method hyper

method hyper(RaceSeq:D:)

Creates a HyperSeq object out of the current one.

In HyperSeq§

See primary documentation in context for method hyper

method hyper(HyperSeq:D:)

Returns the object.