tustvold commented on issue #6670:
URL: https://github.com/apache/arrow-rs/issues/6670#issuecomment-2453479487

   It looks like the IPCDataGenerator is not doing a good job, if any, at 
estimating buffer sizes ahead of time and is relying on bump allocation. This 
is what is leading to a large amount of time spent in realloc.
   
   Hooking up buffer estimation based on 
https://docs.rs/arrow-data/latest/arrow_data/struct.ArrayData.html#method.get_slice_memory_size
 would likely help.
   
   That being said I'm not aware of a way to avoid at least some memmove, as 
our gRPC implementation requires the response payloads to be contiguous blocks 
of memory


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