david1437 commented on issue #1229:
URL: https://github.com/apache/fury/issues/1229#issuecomment-2869171009

   Great so I have started looking at the code for ObjectArraySerializer and 
have a couple of questions:
   
   Wrap array into ArrayAsList, note this wrapped object can't be reused if 
nested serialization invoke to this place too.
    - Seems to be the same logic as used in StringArraySerializer methods is 
this accurate?
   
   Push array component generics to FuryArrayAsListSerializer
    - Does this mean using setElementSerializer() method with genric 
serializer? ie. `this.componentTypeSerializer = 
fury.getClassResolver().getSerializer(componentType);`
   
   If array component doesn't have nested generics, reimplement the 
serialization in ObjectArraySerializer for better peroformance.
    - I am not sure I understand what nested generics means in this case? Is it 
something along the line of given a T[] where T is a <k, v> Map<k, v> for 
example? This would mean in case of T[] where T is just some class with no 
generics it should continue to use the previous serialization approach?


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