avro-kotlin / avro4k

Avro format support for Kotlin
Apache License 2.0
188 stars 36 forks source link

Cache Schemas for classes #159

Open thake opened 10 months ago

thake commented 10 months ago

Add caching for the deducted Avro schemas to the library itself. The implementation of the cache must be thread-safe. A possible JVM-dependent way would be to use ClassValue as it is implemented in Avro's ClassValueCache.

Preferrable, the implementation should not depend on JVM specifics so that making this library multiplatform in the future is easier.

Chuckame commented 2 months ago

Done in #190