alamb commented on PR #12420:
URL: https://github.com/apache/arrow-rs/pull/12420#issuecomment-7111430497

   > Should we call it clone_as_arc instead? (initial reaction: no, shorter 
to_arc is clear enough)
   
   I agree `to_arc` is better
   
   > Should we just require Array: Clone? (initial reaction: no, breaking 
change just to support a provided method that becomes a footgun for e.g. the 
wrapper types)
   
   Yeah, and I don't think cloning is really what we want here -- we want an 
Arc<...> and if we already have an Arc<...> (which is common) we can just 
return that


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