Re: FVWM: Emacs-like key sequences - signature line question

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Mon, 01 Sep 2003 11:46:38 -0400

"Felix E. Klee" <felix.klee.fvwm_at_gmx.net> 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: dane_at_mk.telcordia.com
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Sep 01 2003 - 10:49:47 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST