mapreduce()

mapreduce()

For this function, there are three versions available - tmapreduce, which parallelises only the mapping part (only function f), maptreduce, which parallelises only the reduction part (only function op) and tmaptreduce, which parallelises both.

tmapreduce(f::Function, op::Function, itr::AbstractArray)

Multi-threaded version of mapreduce(f, op, itr). Only the mapping part is parallelised.

source
maptreduce(f::Function, op::Function, itr::AbstractArray)

Multi-threaded version of mapreduce(f, op, itr). Only the reduction part is parallelised. Note that function op must not change type!

source
tmaptreduce(f::Function, op::Function, itr::AbstractArray)

Multi-threaded version of mapreduce(f, op, itr). Both the mapping and the reduction part is parallelised. Note that function op must not change type!

source