Skip to content
Discussion options

You must be logged in to vote

Three years ago I asked this question because the operations were CPU bound, and running in a thread pool wasn't suppose to help...

The link on the Python documentation shows to use an executor, but doesn't say which kind.

The thing here is that the computations escape the GIL, and for that reason they can run in the thread executor. I didn't know about this at the time.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

Kludex
Jul 6, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Kludex
Mar 15, 2023
Collaborator Author

You must be logged in to vote
1 reply
@dummyuser-123
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
5 participants
Converted from issue

This discussion was converted from issue #1679 on February 28, 2023 01:09.