Jason Zhao
07/23/2023, 7:57 AMlimitedParallelism
, using Loom for everything and therefore not having to mix Dispatchers.Default
and <http://Dispatchers.IO|Dispatchers.IO>
probably also prevents all thread switching when switching to a context using limitedParallelism
? Because you never run into a case where you have to switch from a thread in the Default
thread pool into a thread in the IO
thread pool or vice versa