pitrou commented on pull request #8755: URL: https://github.com/apache/arrow/pull/8755#issuecomment-733094016
Hmm, so IIUC we could: * try to call `read_buffer` from `PyReadableFile.Read(int64_t)` (but stop if it fails once with a `AttributeError`, to avoid looking it up every time?) * call `readinto` from `PyReadableFile.Read(int64_t, void*)` Would that work? ---------------------------------------------------------------- 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]
