eddelbuettel commented on issue #691: URL: https://github.com/apache/arrow-nanoarrow/issues/691#issuecomment-2537681933
At first glance, that seems expensive. My (initial) thinking was that i) vectors are great, and (nano)array arrays are vectors (in the simple instance of a contiguous array) and ii) most linear algebra consumers take such a vector and merrily form a matrix from it, often zero-copy. So from `mat <- matrix(1:6, ncol =2, byrow = TRUE)` I really want the `vec <- as.vector(mat)` and wondering if there is a good way to 'also' attach the the `dim <- c(3,2)` part in way that makes sense. Metadata may be a way that is simpler and more robust that a schema-in-private-data, my initial idea. But you all know the wider arrow landscape better than I do so please shoot holes into this at earliest convenience... -- 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]
