RE: [Thread-SIG] Re: [Python-Dev] baby steps for free-threading
19 Apr
2000
19 Apr
'00
5:57 p.m.
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.
8764
Age (days ago)
8765
Last active (days ago)
4 comments
5 participants
participants (5)
-
Christopher Petrilli
-
Greg Stein
-
gvwilson@nevex.com
-
Harri Pasanen
-
Salz, Rich