pitrou opened a new issue, #48846:
URL: https://github.com/apache/arrow/issues/48846

   ### Describe the enhancement requested
   
   `ReadMessageAsync` takes a `body_length` parameter and reads Message 
metadata + body in one go, but the blocking version `ReadMessage` reads the 
body length from the Message and issues a second read for the body. 
   
   We could add a `ReadMessage` overload that takes the body length as 
parameter and does a single read the async version does. It can then be used in 
the IPC file reader so that less IOs are issued (though it won't make a 
difference in the common case where the IPC file is memory-mapped).
   
   
   ### Component(s)
   
   C++


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