5 ms·
"Python 4, but not really", because we want to squeeze out more multithreading performance and be cool again. Some questions from reading the OP: - How much do
by ahgamut 3y ago
"Python 4, but not really", because we want to squeeze out more multithreading performance and be cool again. Some questions from reading the OP:
- How much does performance improve due to this No-GIL thing? Is it greater than 2x? For what workloads?
- Do I have to compile two versions of every extension (gil/nogil)? I would prefer building extensions does not get any more complicated.
- Can I automatically update my code to handle nogil? (a tool like lib2to3 or six)
- donio 3y agoThe estimate in the PEP is that it will be 5-8% slower. Having to use more granular locks and atomic operations has a cost. https://peps.python.org/pep-0703/#performance https://peps.python.org/pep-0703/#performance