nealrichardson commented on issue #48908: URL: https://github.com/apache/arrow/issues/48908#issuecomment-3781533003
Yeah I think 🤖 is right, if you could pass the `Buffer` pointer it would skip that copy but IDK how `mirai` parallelizes, and if it's across processes then that won't work. If your filesystem is sufficiently fast, and you're parallelizing on the same system, maybe you can write the IPC file to disk and pass the file name? But if you have to get into an R raw vector, I'm not sure what else we can do to make that faster. Maybe there's some inefficiency in the `r/cpp` layer in that method? I would expect it is just allocating and copying bytes though. -- 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]
