paleolimbot commented on issue #810: URL: https://github.com/apache/arrow-nanoarrow/issues/810#issuecomment-3339339299
Yes, we can use that to implement `r_to_py/py_to_r` 🙂 The allocation is quite literally a C++ "move" (i.e., no data is moving, just the top-level structure). `nanoarrow_pointer_export()` takes an extra step to ensure that the original R object `arr` remains valid...you can use `nanoarrow_pointer_move()` to skip that step if you know that `arr` will never be accessible (e.g., inside a function you own). -- 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]
