[Stackless] Stackless and Pyrex efficiently
Kristján Valur Jónsson
kristjan at ccpgames.com
Thu Jan 28 15:13:39 CET 2010
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.
> -----Original Message-----
> From: stackless-bounces at stackless.com [mailto:stackless-
> bounces at stackless.com] 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
> Stackless at stackless.com
More information about the Stackless