I mitigated it by stopping to use k2 compiler for ...
# k2-adopters
r
I mitigated it by stopping to use k2 compiler for just that module which contained @JvmRecord annotated classes (a special case for faster deserialization of huge amounts of objects)
g
Sorry to go off topic -- but does annotating with
@JvmRecord
if using Jackson/kotlinx.serialization lead to better serialization performance?
r
deserialization performance is what I measured to be better, dont know about serialization
this is specific to jackson
g
Thanks, I'll steal that optimization, it's an easy one and with Valhalla lurking it might be a good habit to get into if Java ever gets proper value classes and the optimizations for them