https://kotlinlang.org logo
p

petersommerhoff

04/20/2018, 7:46 AM
@louiscad May also depend on the consumer side...the first variant may perform better if you send elements and only consume them after a while (assuming that accessing the LinkedListChannel is slightly faster than switching between coroutines). Would also be interesting to compare the memory usage of the LinkedListChannel vs launching a new coroutine for every
send()
👍 1