[spring index] optimize super type information for beans with hash codes instead of strings #1045
Labels
for: eclipse
something that is specific for Eclipse
for: vscode
something that is specific for VSCode
theme: spring index & symbols
type: enhancement
Milestone
The only purpose of keeping all the super types of a bean type within the spring index is to check for type compatibility. This could be optimized in a way to not store the fully qualified type information as strings in the index storage, but hash codes only (and then compare hash codes instead of type strings).
While this seems to be straight forward and easy to do, we need to verify that this covers all the ways a bean is being found when looking for a compatible bean. Generics might be a potential complicated case here, but we need to double check while implementing this optimization here.
The text was updated successfully, but these errors were encountered: