Hacker News new | ask | show | jobs
by Matthias247 2502 days ago
As far as I understand in Kotlin continuations are only allocated on the heap when necessary (the suspending function can not be executed synchronously). Therefore most allocations should be avoided until blocking for IO.