Daniele Segato
09/11/2018, 9:10 PMinline
, noinline
, crossinline
?diesieben07
09/11/2018, 9:12 PMinline
is different than the other two, since inline
applies to functions, where as noinline
and crossinline
apply to parameters of inline functions.
If your function is inline
and you do not specify noinline
or crossinline
on a lambda parameter, then that lambda will be eliminated by inlining the function into the callsite.Daniele Segato
09/11/2018, 9:14 PM