[erlang-questions] plists:foreach performances
Thu Mar 10 19:13:37 CET 2016
not sure which plist you're using, but the one that I could find looked not
entirely erlang-idiomatic; it tried to manage the process scheduling
itself, perhaps as a test implementation of the way that other languages
might do it.
Here's how I might tackle that problem in pure erlang.
On Thu, Mar 10, 2016 at 8:45 AM, Caragea Silviu <>
> No ,
> I have a function:
> Fun = fun(_X) ->
> List = lists:seq(1, X),
> plists:foreach(Fun, List).
> and I'm calling this one : module:tt(130000).
> On Thu, Mar 10, 2016 at 6:43 PM, Boroska András <>
>> 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.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions