[Q] How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?
Torben Ægidius Mogensen
torbenm at diku.dk
Tue Aug 17 10:17:58 CEST 2010
Standish P <stndshp at gmail.com> writes:
> [Q] How far can stack [LIFO] solve do automatic garbage collection and
> prevent memory leak ?
> Because a stack has push and pop, it is able to release and allocate
> memory. We envisage an exogenous stack which has malloc() associated
> with a push and free() associated with a pop.
More information about the Python-list