An object for performing batches of work in parallel with ordered output
does Iterable does Sequence
HyperSeq is the intermediate object used when
hyper is invoked on a
Seq. In general, it's not intended for direct consumption by the developer.
method iterator(HyperSeq: --> Iterator)
Returns the underlying iterator.
method grep(HyperSeq: , *)
grep to the
HyperSeq similarly to how it would do it on a
my = (^10000).map(*²).hyper;.grep( * %% 3 ).say;# OUTPUT: «(0 9 36 81 144 ...)»
When you use
hyper on a
Seq, this is the method that is actually called.
method map(HyperSeq: , *)
Uses maps on the
HyperSeq, generally created by application of
hyper to a preexisting
HyperSeq created from a
Returns the object.
RaceSeq object out of the current one.
multi method serial(HyperSeq:)
Converts the object to a
Seq and returns it.
method is-lazy(--> False )
method sink(--> Nil)
Sinks the underlying data structure, producing any side effects.