chaokunyang commented on issue #1945:
URL: https://github.com/apache/fury/issues/1945#issuecomment-2486255945

   @a1342772 If you do want serialize such Protobuf generated objects using 
Fury, you could do following optimization:
   * Implement  serializers by extends `org.fury.serializer.Serializer` for 
`com.google.protobuf.Internal$IntList/DoubleList/FloatList/LongList/BooleanList/ShortList`
   * Implement serializer for `com.google.protobuf.UnknownFieldSet`
   * Register all those serializers to Fury.
   
   At last,  Protobuf generated objects cached many fields data such as 
`booleanArrayMemoizedSerializedSize/longArrayMemoizedSerializedSize/memoizedHashCode/memoizedIsInitialized/memoizedSize/bitField0_/`,
 they are all redundant. You shoud find a way to skip serialization of those 
fields. 
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to