Moxy
Moxy copied to clipboard
Make moxyPresenter property delegate inline
Apparently our moxyPresenter
property delegate can be optimized:
Property delegation to noinline function(s) causes (reflective) KProperty
creation which slows down initialization and should be avoided in applications which should start up fast.
The fix is either to delegate to inline functions (optimized since Kotlin 1.3.60) or to delegate manually.
See these issues in Kotlin YouTrack: