2 ms·
> compatibility issues trump performance". Surely it would be possible to drop back to GIL mode if any c extension is loaded which is incompatible with running
by londons_explore 3y ago
> compatibility issues trump performance".
Surely it would be possible to drop back to GIL mode if any c extension is loaded which is incompatible with running lockless?
Then you usually get speed, yet still maintain compatibility.
- mlyle 3y ago> if any c extension is loaded which is incompatible with running lockless? It'd be slightly magical to do. You'd probably have a giant RWLock, which is used for checking whether you're in the "lock free" mode. But at least almost all code could hit it only for read, and it could go away one day.