Arc Forumnew | comments | leaders | submitlogin
3 points by conanite 5328 days ago | link | parent

rainbow grows its stack as needed, and will eventually run out of memory with a non-tail-recursive copylist and a big enough list. Scheme seems to be able to optimise "tail recursion modulo cons" - I've tried copylist with tens of millions of elements and scheme doesn't break; rainbow does.


3 points by jazzdev 5328 days ago | link

I pushed scheme to the limit and it died with an insufficient memory error. I never got a stack error.

-----