Hello, there is something I haven't figured out of the language. Why would I prefer a "regular" extension function over an inlined one? I have read inline has better performance because it basically copy paste the code
v
voddan
05/22/2017, 6:23 PM
"inline has better performance" this is actually the other way around on JVM. That is why the default is what it is.
voddan
05/22/2017, 6:26 PM
For an inline inline function to perform better there needs to be a lambda parameter
i
igoticecream
05/22/2017, 7:03 PM
I didn't know that, thanks for the explanation very helpful ✌🏻