Cache order result per Class in OrderUtils (for AnnotationAwareOrderComparator) [SPR-17064] #21602
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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 perClass
, ideally atOrderUtils
level, should provide significant benefits in scenarios with repeated sort attempts.Affects: 5.0.6
Issue Links:
Referenced from: commits 4d3a899, d0bbbf4
The text was updated successfully, but these errors were encountered: