https://kotlinlang.org logo
#coroutines
Title
# coroutines
k

kenkyee

06/29/2018, 7:42 PM
Direct invocation is always faster IMHO. Surprised you are doing that kind of low level stuff in Kotlin
1
d

Daniel Tam

06/30/2018, 3:05 AM
it's just an example, it's a much higher level protocol 🙂
m

mp

07/04/2018, 2:40 PM
If performance is key you will want to avoid nested objects, as that will mean chasing pointers (in the absence of value types). Megamorphic calls are also painful, but the JIT compiler may be better able to handle those (inline caches, etc). JMH and see 🙂
😀 1
6 Views