[armedbear-devel] (lisp) Stack management efficiency

Ville Voutilainen ville.voutilainen at gmail.com
Tue Jul 21 10:45:36 UTC 2009


On Tue, Jul 21, 2009 at 1:07 PM, Erik Huelsmann<ehuels at gmail.com> wrote:
> When running this code, it takes around 1440 seconds on my PC. Then I
> modified the stack management routine to re-use available stack frames
> (and conses), instead of creating new ones on every call. This took
> execution time down to around 1240 seconds. A good improvement, I'd
> say.
> However, with the change described above, stack frames won't ever
> become garbage anymore. My question is: does the loss of GC-ability
> outweigh the performance gain?

How many frames will then hang around? If I make a deep call, and never
do another deep call, will I then have frames lurking around from the deep
call?




More information about the armedbear-devel mailing list