4 ms·
The GIL makes Python faster than a Python without it would be.
by lmm 10y ago
The GIL makes Python faster than a Python without it would be.
- andkenneth 10y agoyeah, the GIL only slows down threaded code. The big reason that the GIL hasn't been removed is that any patch removing the GIL slows single threaded performance.
- weberc2 10y agoThe GIL massively slows down threaded code. To the point where (almost?) all multithreaded cases are actually slower than single threaded cases. :(