This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: How often are continuations created?
- To: Marius Vollmer <mvo at zagadka dot ping dot de>
- Subject: Re: How often are continuations created?
- From: Jost Boekemeier <jostobfe at linux dot zrz dot TU-Berlin dot DE>
- Date: 12 Aug 2000 15:14:20 +0200
- Cc: Keisuke Nishida <kxn30 at po dot cwru dot edu>, guile at sourceware dot cygnus dot com
- References: <m3n1im7t4m.fsf@indy.STUDENT.CWRU.Edu> <87g0obleb6.fsf@zagadka.ping.de>
[Dybvig/Hieb/Bruggeman's stack implementation for Chez Scheme]
Marius Vollmer <mvo@zagadka.ping.de> writes:
> Copying the data stack should be no problem, because it contains no
> mutable bindings, only intermediate results.
Hmm, Kent Dybvig's dissertation [1, pp 96--115] discusses this
and several optimizations.
> 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?
[1] Dybvig. Three Implementation Models for Scheme. University of
North Carolina Computer Science Technical Report 87-011
[Ph.D. Dissertation], April 1987. (3imp.ps.gz)