4 ms·
It could remove the locking/unlocking operations.
by gtirloni 3y ago
It could remove the locking/unlocking operations.
- Retr0id 3y agoDoesn't removing the GIL imply adding back new, more granular locks?
- fiddlerwoaroof 3y agoSort of, but the biased reference counting scheme they’re using avoids a lot of locks for the common case.
- sapiogram 3y agoRemoving the GIL requires more locking/unlocking operations. For single-threaded program, it's a performance penalty on average: https://peps.python.org/pep-0703/#performance https://peps.python.org/pep-0703/#performance