Hi!

While I was working on code generation support for PojoComparators, I
stumbled upon the compareSerialized method [1]. It first creates two new
instances and then it is using the reusing overloads of the serializer.
Calling the non-reusing overload would create the instance anyways. Is
there a reason why the reusing overload is used here?

Regards,
Gábor

[1]
https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/PojoComparator.java#L277

Reply via email to