In HyperSeq§
See primary documentation in context for method hyper
method hyper(HyperSeq:)
Returns the object.
In role Iterable§
See primary documentation in context for method hyper
method hyper(Int(Cool) : = 64, Int(Cool) : = Kernel.cpu-cores - 1)
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().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:)
Creates a HyperSeq
object out of the current one.