[Enhancement] Cache Schema instances for classes in a weak reference cache since creating an instance could be CPU intensive #23707
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
Motivation
For example,
Schema.AVRO(SomeClass.class)
is fairly CPU intensive. It would be useful it there would be a weak reference cache for caching the schema instance.Solution
Alternatives
Anything else?
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: