We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suspect that the performance of the ThreadPoolExecutor would substantially increase if we strategically placed cython with nogil calls.
with nogil
There are drawbacks to process based parallelism; namely, there is a high overhead and IPC latency compared to multithreading.
The text was updated successfully, but these errors were encountered:
Memory views for shared memory: https://docs.cython.org/en/latest/src/userguide/memoryviews.html
Sorry, something went wrong.
Another approach is free-threaded Python, which is just ramping up (but is going to take some time):
TIL! I didn’t realize threaded Python was coming so soon! Thanks for the pointers.
The Cython tricks may be useful in the near-term for younger versions of Python.
No branches or pull requests
I suspect that the performance of the ThreadPoolExecutor would substantially increase if we strategically placed cython
with nogil
calls.There are drawbacks to process based parallelism; namely, there is a high overhead and IPC latency compared to multithreading.
The text was updated successfully, but these errors were encountered: