Inline functions reduce overhead by copying code. Crossinline prevents non-local returns in nested lambdas.
← Kotlin theorytheory 0/50 · 0%
Advanced · hard
50. Inline Functions and Crossinline
Optimizing lambda performance.
Check your understanding
1. Keyword to disable inlining for a param?
2. What is a non-local return?