2 ms·
Take for example Lambdas. Android has no invokedynamic, so every lambda has to be compiled to a class with a method. Android only allows 65k methods overall per
by kuschku 9y ago
Take for example Lambdas. Android has no invokedynamic, so every lambda has to be compiled to a class with a method. Android only allows 65k methods overall per linked unit, so that quickly becomes an issue.
Kotlin, on the other hand, can do much more intelligent transformations (look at its inline functions).