[Python-Dev] PEP 554 v2 (new "interpreters" module)

Eric Snow ericsnowcurrently at gmail.com
Tue Sep 12 16:59:43 EDT 2017


On Fri, Sep 8, 2017 at 4:28 PM, Stefan Krah <stefan at bytereef.org> wrote:
> The most promising model to me is to put *all* globals in a tls structure
> and cache the whole structure.  Extrapolating from my experiences with the
> context, this might have a slowdown of "only" 4%.

Yeah, this is actually something I've been exploring and was one of
the motivations for consolidating the C globals.

-eric


More information about the Python-Dev mailing list