6 ms·
Because in general, removing the GIL should be an improvement.
by radlad 3y ago
Because in general, removing the GIL should be an improvement.
- gcbirzan 3y agoIn general, until you do use threads, removing the GIL is a performance loss. Even if you do use threads, you have an overhead: https://peps.python.org/pep-0703/#performance https://peps.python.org/pep-0703/#performance
- packetlost 3y agoOh, that makes sense! I forgot that there would be overhead related to the changes for no GIL.