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
Juergen Hoeller opened SPR-17064 and commented
As a follow-up to #21271, it turns out that
AnnotationAwareOrderComparatorcan become a hotspot. Caching annotation-derived order results perClass, ideally atOrderUtilslevel, should provide significant benefits in scenarios with repeated sort attempts.Affects: 5.0.6
Issue Links:
Referenced from: commits 4d3a899, d0bbbf4