tustvold edited a comment on issue #1128:
URL: https://github.com/apache/arrow-rs/issues/1128#issuecomment-1003747568


   Would it work for the kernels to take `impl AsRef<dyn Array>` or similar. I 
think implementing `Array` for `ArrayRef` as proposed will otherwise result in 
two virtual dispatches instead of just one?
   
   Edit: Btw an alternative to `foo.as_ref()` is `&*foo` - see 
[here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a04356a51333970c6ccaf41715a9813f)


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