Hello, I am the maintainer of jackson-module-kotli...
# feed
w
Hello, I am the maintainer of jackson-module-kotlin. I have made some performance improvements to value class related processes for
2.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.
c
> 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.
w
I meant to mention the following
Target
Copy code
@JvmInline
value class V(val v: Int)

data class Target(val v0: V, val v1: V, val v2: V, ...)