MassivePizza opened a new issue, #10295:
URL: https://github.com/apache/arrow-rs/issues/10295

   ### Is your feature request related to a problem or challenge?
   
   When serializing big batches of struct arrays, there is a high overhead 
(allocs+JSON escape) of serializing the field names repeatedly.
   
   ### Describe the solution you'd like
   
   Cache the field names in the FieldEncoder and just copy them into 
destination. 
   
   ### Describe alternatives you've considered
   
   None for this in particular. A `JsonEncodedText` helper could be useful in 
places though.
   
   ### Additional context
   
   Inspired by `System.Text.Json.JsonEncodedText` from .NET.


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