pcall#

swordfish.function.pcall()#

Conduct parallel computing of a vector function. pcall divides each argument into multiple parts and conducts the calculation in parallel. If the length of the vectors or table columns of the input variables is less than 100,000, pcall will not conduct the calculation in parallel.

Parameters:

func (Constant) – An aggregate function. The output of the function must be a vector or a table with the same length as all vectors or table columns in args.