[erlang-questions] plists:foreach performances

Caragea Silviu <>
Thu Mar 10 17:45:33 CET 2016


No ,

I have a function:

tt(X)->
    Fun = fun(_X) ->
        ok
          end,

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

and I'm calling this one : module:tt(130000).

Silviu



On Thu, Mar 10, 2016 at 6:43 PM, Boroska András <>
wrote:

> Do you run this in the interactive shell? In that case put it in a module
> and compile it.
>
> Measuring anything in the shell is not relevant.
>
> Andras
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160310/c935c475/attachment.html>


More information about the erlang-questions mailing list