felipecrv commented on PR #41477: URL: https://github.com/apache/arrow/pull/41477#issuecomment-2096872504
Yes. You would be giving the length and CPU memory pointer to the `MemoryManager` and it would decide the best way to copy (always copy) the data. It is a virtual function so it can have the code that @zeroshade wrote to copy those 4 or 8 bytes as the default implementation, but the CPU memory manager can have a much simpler one using `memcpy`. -- 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]
