2 ms·
Coroutine switching can be as fast as a dozen or so ns. Meanwhile a thread context switch will still take a microsecond at least.
by blattimwind 8y ago
Coroutine switching can be as fast as a dozen or so ns. Meanwhile a thread context switch will still take a microsecond at least.