performance: all parent classes should be be cached when calling TypeFactory.get(Class)
Open
performance
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
We do not cache properly the shadowed elements.
We only cache the top level class.
For example, `TypeFactory.get(ArrayList.class)` will cache the shadow of ArrayList but the parent classes `List.class`, `Serializable.class`, `Object.class` as will as all the used types in return value and parameters will not be cached.
This can causes performance issue when the shadow is heavily used.
Contributor guide
Assessment
This issue has not been assessed yet.