2 ms·
Kotlin can inline lambdas (sometimes), which matters a lot on Android. For example there is no over head to writing your code so that it uses map and a lambda t
by tomjen3 11y ago
Kotlin can inline lambdas (sometimes), which matters a lot on Android. For example there is no over head to writing your code so that it uses map and a lambda to writing a native loop.
In addition, because the code is inlined it can use the actual type of generic arguments. Not sure when that is useful.