I add the cache for method AspectJAwareAdvisorAutoProxyCreator#shouldSkip
:
- the key of cache: the cache key for the given class and name
- the value of cache: Boolean value of should skip
And resolve TODO: Consider optimization by caching the list of the aspect names
.
Comment From: bclozel
Thanks for the proposal, but this "TODO" is 17+ years old and this particular point never showed in performance benchmarks. I'll remove this mention on the main branch.