Open
Description
kotlin-reflect
is a big 2 MB JAR, producing important CPU and memory spikes at startup on the JVM.
It would be interesting to explore if it could be replaced by a lighter incarnation like https://github.com/Kotlin/kotlinx.reflect.lite or use kotlinx-metadata-jvm
at build time to generate some kind of reflection index. jackson-module-kotlin
should also work with similar approach (not blocking now that we have Kotlin Serialization support).
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]Support for kotlinx.reflect.lite [SPR-17008][/-][+]Use kotlinx-metadata-jvm at build time instead of kotlin-reflect at runtime[/+]sdeleuze commentedon Jan 28, 2021
Short term
kotlin-reflect
usage could be optimized, especially for native use case, by KT-44594 so feel free to vote for it on Kotlin issue tracker.72 remaining items