4 ms·
If performance isn't hugely important you could make blanket-locking wrappers around common data structures and swap them in-place for all of your global state.
by ajkjk 5y ago
If performance isn't hugely important you could make blanket-locking wrappers around common data structures and swap them in-place for all of your global state.
.. but, as I said, removing the GIL will almost certainly be opt-in.