https://kotlinlang.org logo
l

Leeway

07/21/2020, 6:02 PM
hi, quick question: when unzipping a file, which dispatchers should I use? IO or Default?
j

Justin Tullgren

07/21/2020, 6:08 PM
IMHO I would say IO if you are actually putting the unzipped data to disk.
Or even just reading from Disk
l

Leeway

07/21/2020, 6:10 PM
Sounds good. Seems like most of work is just reading/writing file streams. No CPU intensive work to do. I will use IO then.
Thanks
👍 1
j

Justin Tullgren

07/21/2020, 6:11 PM
Yes Input/Output to slower things (disk, network, etc) makes sense then for your use case to me at least.
2 Views