Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gtirloni
on March 11, 2024
|
parent
|
context
|
favorite
| on:
gh-116167: Allow disabling the GIL
It could remove the locking/unlocking operations.
sapiogram
on March 11, 2024
|
next
[–]
Removing 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
Retr0id
on March 11, 2024
|
prev
[–]
Doesn't removing the GIL imply adding back new, more granular locks?
fiddlerwoaroof
on March 11, 2024
|
parent
[–]
Sort of, but the biased reference counting scheme they’re using avoids a lot of locks for the common case.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: