{ "title" : "Parallel Map", "kind" : "control", "type" : "parallelMap", "tags" : ["map", "control", "loop", "parallel"], "description" : "

High order function: the Parallel Map node takes a container and applies a set of functions (the subcomposition inside the node) to each of its element to generate a new container. Contrary to the reguler Map node, the parallel one use multiple threads; the default number of threads used is QThread::idealThreadCount(). If the output container elements are not of the same type, you can optionnaly use the input port of the footer (bottom left) to set the output container.

Inside the block node, the outputs (on the left) are:

container:
Input container
size:
Input container size
index:
Current index
item:
Current item

And the input (on the right) is:

newitem:
New item value at current index

", "inputs" : [], "outputs" : [] }