maartenbreddels commented on pull request #8755:
URL: https://github.com/apache/arrow/pull/8755#issuecomment-732962016


   AFAIK read_buffer in Python land maps to 
https://github.com/apache/arrow/blob/a8c2d290a263548c6dc14b04c1735b3f17c363e1/cpp/src/arrow/python/io.h#L43
 via 
https://github.com/apache/arrow/blob/a8c2d290a263548c6dc14b04c1735b3f17c363e1/python/pyarrow/includes/libarrow.pxd#L1129
 (but I could be wrong).
   
   .readinto would still require a memcpy to from the the final destination. 
How about trying to call a `read_buffer` on the Python object?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to