pfilter multimethod

Methods

pfilter(e:Eachable1, predicate:Any) Source: stdlib.ngs:4147
Parallel filter. Typcally should be used with "heavy" predicate such as SSH.

Returns

Of same type as e

Example

Set(1..10).pfilter(X>3)  # <Set 4, 5, 6, 7, 8, 9>
pfilter(e:Eachable1, threads:Int, predicate:Any) Source: stdlib.ngs:4155
Parallel filter. Typcally should be used with "heavy" predicate such as SSH.

Returns

Of same type as e

Example

Set(1..10).pfilter(2, X>3)  # <Set 4, 5, 6, 7, 8, 9>