tustvold commented on PR #4379:
URL: https://github.com/apache/arrow-rs/pull/4379#issuecomment-1581177206

   > (BTW can't we do zero copy from Vec to Array now?)
   
   Only in the case of an array of native types, i.e. `Vec<i32>`. 
`Vec<Option<i32>>`, `Vec<&str>`, Vec<Option<&str>>`, etc... are not zero-copy, 
thats the reason to encourage the use of the constructors
   
   > Yes, please, give me an example of how to do it / what to do and I can 
update the docs.
   
   I can add some as a follow up, I think I need to make it easier to construct 
NullBuffers first :sweat_smile: 


-- 
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]

Reply via email to