mjsax commented on code in PR #21762:
URL: https://github.com/apache/kafka/pull/21762#discussion_r2937430469


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/HeadersSerializer.java:
##########
@@ -48,50 +45,83 @@
  */
 class HeadersSerializer {
 
+    final static class PreSerializedHeaders {
+        final int requiredBufferSizeForHeaders;
+        final byte[][][] serializedHeaders;

Review Comment:
   This 3-dimensional array is a very bad idea... totally kills performance...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to