Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
obeleh
6y ago
0 comments
Share
that's because `run_in_executor` doesn't spread CPU usage. All it does is wrap functions in threads so you can call them async. It doesn't create multiple processes so you're still limited to a single core in Python.
0 comments
default
newest
oldest
Too
6y ago
See example 3 in link above
j
/
k
navigate · click thread line to collapse