Piers Cawley <[EMAIL PROTECTED]> wrote:
> Leopold Toetsch <[EMAIL PROTECTED]> writes:

>> You seem to be mixing up different issues with that statement. Using
>> plain Continuation PMCs for returning just from subroutines was dead
>> slow, w or w/o COWed stacks.

> But when a Continuation is simply a collection of pointers to the tops
> of the various stacks (and I really do think it should include P1 in
> that list...) will it really be that slow? I'm surprised.

You are missing object creation overhead. P1 and P2 are in the saved
P-register frame.

And finally: I really don't know, if a Continuation needs just pointers
to the stacks (and to which) or (COWed) copies (to which).

*Will please somebody describe all the semantics of Continuation usage.*

leo

Reply via email to