This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: How often are continuations created?
Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE> writes:
> > But copying the control stack that has environment frames in it
>
> Why do you have to copy the control stack? In Hieb/Dybvig/Bruggeman's
> model the control stack is simply a linked list of stack segments, no?
I think the control stack of a continuation is copied back into the
currently active stack when the continuation is invoked. Isn't that
the case? Maybe this could be avoided.