wrongwrong
07/05/2025, 5:09 PM2.20.x
.
In particular, I have confirmed that the throughput can be more than doubled in the general case, especially for the serialization process.
Also, I have seen performance improvements of several percent in both serialization and deserialization.
(The larger the number of properties of a value class in the processing target, the larger the absolute improvement.)
For more details, please refer to the following
https://github.com/FasterXML/jackson-module-kotlin/pull/1018
Since this change is extensive, including the introduction of MethodHandle, I would appreciate your help in testing it.
At this time, it is available from the 2.20.0 snapshot.Chris Lee
07/05/2025, 6:12 PM> The larger the number of properties of a value class in the processing target, the larger the absolute improvement.Not following this - a value class has a single property.
wrongwrong
07/06/2025, 1:58 AMTarget
@JvmInline
value class V(val v: Int)
data class Target(val v0: V, val v1: V, val v2: V, ...)