[Thread-SIG] Re: [Python-Dev] baby steps for free-threading

Salz, Rich SalzR@CertCo.com
Wed, 19 Apr 2000 10:57:16 -0400


>This definitely slows Python down. If an object is known to be visible to
>only one thread, then you can avoid the atomic inc/dec. But that leads to
>madness :-)

I would much rather see the language extended to indicate that a particular
variable is "shared" across free-threaded interpreters. The hit of taking
a mutex on every incref/decref is way bad.