[erlang-questions] plists:foreach performances

Caragea Silviu silviu.cpp@REDACTED
Thu Mar 10 17:31:44 CET 2016


Hello,

Fun = fun(_X) ->
ok
end,

List = lists:seq(1, 120000),
plists:foreach(Fun, List).

Takes a lot of time to complete on Erlang 18.2 any other way to have a
function that  spawn a number of processes and then returns when all
processes died ?

Silviu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160310/f9154bdc/attachment.htm>


More information about the erlang-questions mailing list