Iteration over lists

Richard A. O'Keefe <>
Mon Mar 20 05:21:35 CET 2006


I modified bengt's code to do each run in a new process.
The absolute times I got are of interest only on my machine,
but the relative times for N=10000 may be of interest:

Recursion:    1.4
RevRecursion: 2.9
MapFun:       2.2
ListCompr:    1.0

These are pretty much what you might expect.



More information about the erlang-questions mailing list