[armedbear-devel] (lisp) Stack management efficiency

Ville Voutilainen ville.voutilainen at gmail.com
Tue Jul 21 12:21:48 UTC 2009


>>> 2) chunked-allocated (set aside a bunch, when all are unwound, remove
>>> a chunk, before that, mark them unused for re-use)
> I like that idea. We have no idea about a "normal" stack depth do we?

Not really. This depends on how big our frame objects are, I think.

> In that case, especially since the overhead of a single pointer seems
> small, we should probably use a number a bit large (like 4k?), until
> people start to complain?

Four thousand frames per chunk? Sounds a bit large off-hand.

> I think the right structure to use for (2) would be a linked list of
> arrays. (How about using Conses to store it?)

Yeah, that sounds doable.




More information about the armedbear-devel mailing list