Message Passing takes a lot more time than expected. Checking out master in 0.5 didn't help.
Changed message passing interface instead.
Interestingly:
addprocs(1)
rref = RemoteChannel(()->Channel{Any}(typemax(Int)), 2)
@time for i in 1:10000 # took 1.26 seconds
put!(rref, i)
end
a = [i for i in 1:10000]
@time put!(rref, a) # Took 0.00075 seconds.
Message Passing takes a lot more time than expected. Checking out master in 0.5 didn't help. Changed message passing interface instead.
Interestingly:
Clearly aggregating messages is the way to go.