Hello, does anyone know best case register # swaps...
# coroutines
z
Hello, does anyone know best case register # swaps that need to happen in order to switch from 2 coroutines multiplexed on the same running thread?
e
Can you clarify your question, please?
I got the question (from general). The answer is that it does not really matter. The switch from coroutine from coroutines is just like a function invocation and it all boils down to JVM on how efficiently it is implemented. What does matter is how fast your partcular use-cases run. What do you do with coroutines? Try measure than and compare.