The function size returns the size of a stack, in bytes.
The function max_size returns the maximum number
of objects a stack can contains; this number can be changed
with max_size<-.
size(.stack)max_size(.stack)
max_size(x) <- value
A stack.
A stack.
numeric. The new maximum size of the stack.
size always returns a nonnegative numeric.
max_size returns a (possibly infinite) nonnegative numeric.