[erlang-questions] Change in garbage collector behavior?

Per Melin <>
Fri May 16 21:25:24 CEST 2008

2008/5/16 Matthew Dempsky <>:
4> B = F(30), ok.

That's over a billion lists. How much memory do you have?

I can do F(1000) on my machine if I throw away the result, and it
returns immediately. I know that my machine is neither that fast nor
has that much memory. It looks like it's smart enough to never build
the accumulator if it's not used.

More information about the erlang-questions mailing list