Iteration over lists
Bengt Kleberg
bengt.kleberg@REDACTED
Fri Mar 17 15:36:58 CET 2006
On 2006-03-17 15:09, Emil Öberg (LN/EAB) wrote:
> I don't think you can use timer:tc() to do the measuring here. You
> need to measure cpu time, not elapsed. List comprehension will not
> suspend (if I have understood the erts correct), but the rest will,
> so it is natrual that it takes less real time. I used fprof with
i do not understand. imho elapsed time is more important than cpu time.
bengt
More information about the erlang-questions
mailing list