Author: Armin Rigo <[email protected]> Branch: Changeset: r46867:ad31bc3116c4 Date: 2011-08-28 21:33 +0200 http://bitbucket.org/pypy/pypy/changeset/ad31bc3116c4/
Log: Add a para. diff --git a/pypy/doc/stackless.rst b/pypy/doc/stackless.rst --- a/pypy/doc/stackless.rst +++ b/pypy/doc/stackless.rst @@ -203,14 +203,24 @@ * Coroutines (could be rewritten at app-level) -* Pickling and unpickling continulets (probably not too hard) +* Pickling and unpickling continulets (*) -* Continuing execution of a continulet in a different thread +* Continuing execution of a continulet in a different thread (*) * Automatic unlimited stack (must be emulated__ so far) .. __: `recursion depth limit`_ +(*) Pickling, as well as changing threads, could be implemented by using +a "soft" stack switching mode again. We would get either "hard" or +"soft" switches, similarly to Stackless Python 3rd version: you get a +"hard" switch (like now) when the C stack contains non-trivial C frames +to save, and a "soft" switch (like previously) when it contains only +simple calls from Python to Python. Soft-switched continulets would +also consume a bit less RAM, at the possible expense of making the +switch a bit slower (unsure about that; what is the Stackless Python +experience?). + Recursion depth limit +++++++++++++++++++++ _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
