Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Kotlin Reflection #768

Open
seongahjo opened this issue Sep 27, 2023 · 4 comments
Open

Enhance Kotlin Reflection #768

seongahjo opened this issue Sep 27, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@seongahjo
Copy link
Contributor

Describe the feature you request

Enhance Kotlin Reflection.

(Optional): Suggest A Solution

Replace kotlin.reflect with kotlinx.reflect.lite

@seongahjo seongahjo added the enhancement New feature or request label Sep 27, 2023
@this-is-spear
Copy link
Contributor

What are the benefits of using that library?

https://kotlinlang.org/api/kotlinx-metadata-jvm/kotlin-metadata-jvm/kotlin.metadata.jvm/

I'm interested in contributing to this issue, and I've been playing around with it, but I don't see any benefit.

@seongahjo
Copy link
Contributor Author

seongahjo commented Aug 8, 2024

@this-is-spear
I think it will reduces the performance degradation of Kotlin reflection.

I've been playing around with it, but I don't see any benefit.

If so, we do not need to replace kotlin.reflect with kotlinx.reflect.lite.

Have you done the benchmark?

@this-is-spear
Copy link
Contributor

this-is-spear commented Aug 8, 2024

No, it didn't.

I went into the body link and found the kotlinx.metadata library. I wondered if this was intended to add hints at compile time.

I searched for the keyword kotlinx.reflect.lite and it seems to have a performance degrading meaning.

https://github.com/Kotlin/kotlinx.reflect.lite

Could it be related to that repository?

@seongahjo
Copy link
Contributor Author

Yes, I made a wrong reference.

It is a right reference below.
https://github.com/Kotlin/kotlinx.reflect.lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants