50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Message

Re: [50g] What is the stack size?

2009-06-20 by Dave Boyd

rickwendel763242 wrote:
> How many numbers can you type in and hit Enter and then retrieve from
> the stack?

Limited only by size of memory, how full memory is (how many programs
and variables you've stored), and of course the size of the objects on
the stack -- obviously a list of ten reals takes a bit more than ten
times the memory space as one real, but only consumes one "stack entry".

Enough so you'd be bored before you ran out of memory. Enough so the
exact answer need never be calculated. Enough.

I once ran a program to put ten thousand reals on the stack. It slowed
down and I killed it long before it got to the end of the program or
memory. I seem to recall there being at least 500 reals.

--
Dave Boyd

Attachments