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

Optimize KotlinReflectionParameterNameDiscoverer #30725

Closed
sdeleuze opened this issue Jun 22, 2023 · 0 comments
Closed

Optimize KotlinReflectionParameterNameDiscoverer #30725

sdeleuze opened this issue Jun 22, 2023 · 0 comments
Assignees
Labels
theme: kotlin An issue related to Kotlin support type: enhancement A general enhancement
Milestone

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Jun 22, 2023

KotlinReflectionParameterNameDiscoverer#getParameterNames(java.util.List<kotlin.reflect.KParameter>) can be optimized by removing the List allocation.

@sdeleuze sdeleuze added type: enhancement A general enhancement theme: kotlin An issue related to Kotlin support labels Jun 22, 2023
@sdeleuze sdeleuze added this to the 6.0.11 milestone Jun 22, 2023
@sdeleuze sdeleuze self-assigned this Jun 22, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this issue Jun 29, 2023
This commit removes the intermediate list allocation.

Closes spring-projectsgh-30725
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: kotlin An issue related to Kotlin support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant