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

dmitry.petrov

04/13/2017, 1:42 PM
In fact, I think C2 can do that, too, when the stars are right.
e

elizarov

04/13/2017, 1:43 PM
It might, but I have not seen it yet. Not that I’ve specifically looked for it, though
d

dmitry.petrov

04/13/2017, 1:45 PM
Technically, it's nothing more than devirtualization + stack allocation + inlining. However, heuristics might not kick in, because they were not tried for coroutine-based code.
3 Views