Not when switching between them, no.  But when switching back and forth between 
the tasklet that has an active C stack (because you called into a C function 
which then called back into python), then stack copying is needed.
K

> -----Original Message-----
> From: [email protected] [mailto:stackless-
> [email protected]] On Behalf Of Péter Szabó
> Sent: 28. janúar 2010 07:34
> To: The Stackless Python Mailing List
> Subject: Re: [Stackless] Stackless and Pyrex efficiently
> 
> Let's suppose I have a tasklet with a C stack, and 1000 pure Python
> tasklets. The tasklet with the C stack needs C stack copying (memcpy).
> Will this force any kind of stack copying for the 1000 pure Python
> tasklets as well?
> 
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless


_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to