Igniters,

Recently was optimized GridLongList serialization. [1]

I found that GridIntList and GridByteArrayList can be optimized as well.

We can reduce message size by sending only valuable part of the array:


public boolean writeTo(ByteBuffer buf, MessageWriter writer) {
   ...
      writer.writeIntArray("arr", arr)  // Here serialize only valuable
part of the array up to idx
      ...
      writer.writeInt("idx", idx)
   ...
}


Can I create the issue and fixed it?

1. https://issues.apache.org/jira/browse/IGNITE-8054

-- 
Best wishes,
Amelchev Nikita

Reply via email to