kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Return UnlimitedIoScheduler instance for Dispatchers.IO.limitedParallelism(Int.MAX_VALUE)

Open dovchinnikov opened this issue 3 years ago • 1 comments

Don't wrap it into LimitedDispatcher unnecessarily.

dovchinnikov avatar Sep 07 '22 14:09 dovchinnikov

Do we have any evidence that LimitedDispatcher overhead is non-eglible or is it rather a "nice to have" enhancement?

qwwdfsad avatar Sep 08 '22 14:09 qwwdfsad

I didn't do any measurements, but I'm 100% sure that doing nothing is faster than whatever LimitedDispatcher is doing.

dovchinnikov avatar Nov 08 '22 11:11 dovchinnikov