Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gtirloni
· 2y ago · 0 comments
It could remove the locking/unlocking operations.
Comments
[–]
sapiogram
2y ago
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
2y ago
Doesn't removing the GIL imply adding back new, more granular locks?
[–]
fiddlerwoaroof
2y ago
Sort of, but the biased reference counting scheme they’re using avoids a lot of locks for the common case.