https://kotlinlang.org logo
#announcements
Title
# announcements
n

natpryce

09/08/2017, 9:56 AM
Q: has anyone measured how Kotlin type inference affects compile time? Do explicit function result types speed up compilation?
I was thinking that it would be faster if the compiler doesn’t have to infer the function’s result type from its definition. And that with lots of functions, explicit result types would make the whole project compile faster. But it’s an uneducated guess!