3 ms·
> In fact Python's threads work well for IO concurrency. So long as you don't have any CPU bound threads competing for the GIL ;)
by smegel 13y ago
> In fact Python's threads work well for IO concurrency.
So long as you don't have any CPU bound threads competing for the GIL ;)
- rbanffy 13y agoThat's why profiling your code is so important. If you have a CPU bound thread, it may be worth to pay the performance penalty of separating some of the program flow in different processes.