Skip to content

Cache order result per Class in OrderUtils (for AnnotationAwareOrderComparator) [SPR-17064] #21602

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

Closed
spring-projects-issues opened this issue Jul 19, 2018 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 19, 2018

Juergen Hoeller opened SPR-17064 and commented

As a follow-up to #21271, it turns out that AnnotationAwareOrderComparator can become a hotspot. Caching annotation-derived order results per Class, ideally at OrderUtils level, should provide significant benefits in scenarios with repeated sort attempts.


Affects: 5.0.6

Issue Links:

Referenced from: commits 4d3a899, d0bbbf4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants