4 ms·
>using multiple threads to increase performance is at best a difficult task. This isn't completely true. If you are doing anything non CPU bound, using threads
by gizmo686 13y ago
>using multiple threads to increase performance is at best a difficult task.
This isn't completely true. If you are doing anything non CPU bound, using threads is trivial, as the GIL will allow you to perform IO in parallel.
- lmm 13y agoPerforming I/O already releases the GIL. (Not to mention that Python has many event-driven I/O options available which are generally more efficient than threading)