Skip to content

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

Closed

Description

@spring-projects-issues

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

Activity

  1. added
    type: enhancement
    in: core
    on Jan 11, 2019
  2. added this to the 5.0.8 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions