https://kotlinlang.org logo
#announcements
Title
# announcements
s

Slackbot

12/12/2017, 2:01 PM
This message was deleted.
k

karelpeeters

12/12/2017, 2:06 PM
#coroutines
👍🏽 1
l

louiscad

12/12/2017, 2:11 PM
I'd do a test (ideally in the test sources of your project) to compare the time taken by both approaches, using sample data if needed, because it depends on what you are doing, where and on which scale, which we don't know
a

asad.awadia

12/12/2017, 2:42 PM
I would say use multiple if they logically make sense such as downloading two images in parallel. Wrt your overhead question - coroutines are specifically designed for this aspect. It has been emphasised extremely that they are super lightweight threads and thus the cost of switching is negligible
k

karelpeeters

12/12/2017, 2:42 PM
Please move this discussion to #coroutines, where it clearly belongs.
2 Views