3 ms·
Threads are still expensive in Python - can’t use them for concurrency really like you can with async io afaik.
by vlovich123 8mo ago
Threads are still expensive in Python - can’t use them for concurrency really like you can with async io afaik.
- ori_b 8mo agoI would be surprised if they were particularly expensive. There's a GIL, so you don't get concurrency benefits -- but that mainly makes them behave like async.