[CONJ-1261] Provide an option to cache the results of loadCodecs (original) (raw)
When creating a MariaDB JDBC connection loadCodecs is invoked.
This method uses ServiceLoading to find all "Codecs", however it doesn't cache the results, which causes a measurable performance impact:
As the loaded Codecs usually don't change it may make sense to (globally) cache the results (maybe with an option).