"Felix E. Klee" <[EMAIL PROTECTED]> writes:
> > Fill me in, what's that do?
> 
> Well, that's what I wanted to know as well (I never used the do
> construct before). So I let it run unattended and it started filling up
> memory till a point where my machine started running out of memory and
> programs started to crash. Luckily, I could hit C-g quickly enough to
> prevent further damage. :)
> 
> Now I know that it calculates Fibonacci numbers. I still don't know,
> however, why it fills up memory. Emacs doesn't seem to work with
> arbitrary precision integers and the do construct is no recursion that
> fills up a call stack. So the memory needs are constant. 
> 
> Mario, can you explain this?

I'm not Mario, but I can offer a theory.

When I ran it I evaluated it in the scratch buffer.
It didn't seem to be growing very fast.

Since there is a print in there, I think the memory was
space in the output buffer for the printing.

-- 
Dan Espen                           E-mail: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to