[erlang-questions] Implemented Poisson and Exponential Distribution

Jay Nelson jay@REDACTED
Sun May 31 19:16:41 CEST 2015


Your slowest things are going to be lists:append and lists:nth.
You should use lists:sublist instead of a filter with lists:nth.
And see if there is any way to avoid appending to the end of
a list, or walking to a specific position in the other cases.

jay




More information about the erlang-questions mailing list