50g group photo

Yahoo Groups archive

50g

Index last updated: 2026-04-28 22:38 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

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.