When C extensions release the GIL for long-running CPU-bound operations that avoid Python C API calls, such as compression or hashing, performance gains can range from 5x to over 50x compared to pure Python.
Open the full topic