3 ms·
That's really not the conclusion, and not something you should seriously do. The rule of thumb should be: - Is your task CPU bound? Put it in a thread pool.
by hota_mazi 3y ago
That's really not the conclusion, and not something you should seriously do.
The rule of thumb should be:
- Is your task CPU bound? Put it in a thread pool.
- Is your task spending most of its time waiting (e.g. network call)? Use a coroutine