Tail/Non tail recursion

Joachim Durchholz <>
Thu Aug 28 20:14:39 CEST 2003


Peter Lund wrote:

> When I ran your code on my Win2K system several times I got
> 3 very different results...
> [...]
> Does this just show that W2K is crap? :)

No, it shows that benchmarking is a bad idea if one doesn't know what's 
being measured.
I suspect that garbage collection has disturbed your results. The 
effects are  particularly visible because Erlang uses a stop-the-world 
collector (though it should be more appropriately named 
"stop-the-process collector" in an Erlang context).

Regards,
Jo




More information about the erlang-questions mailing list