Skip to content

Make moxyPresenter property delegate inline #138

@alaershov

Description

@alaershov

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions