jorgecarleitao opened a new pull request #8307:
URL: https://github.com/apache/arrow/pull/8307


   This PR is built on top of #8225 and Replaces `Arc<Mutex<dyn ...>>` to 
`Box<dyn ...>`.
   
   In the TopK example, I had to move some functions away from the `impl`. This 
is because `self` cannot be borrowed as mutable and immutable at the same time, 
and, during iteration, it was being borrowed as mutable (to update the BTree) 
and as immutable (to access the `input`). There is probably a better way of 
achieving this e.g. via interior mutability.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to