emilk commented on PR #6790:
URL: https://github.com/apache/arrow-rs/pull/6790#issuecomment-2500106102

   What do you think about adding a `struct ShrinkPolicy` parameter to 
`shrink_to_fit`? That would allow us to add custom options in the future 
without breaking backwards compatibility. We could start with
   
   ```rust
   #[non_exhaustive]
   #[derive(Debug, Default)]
   pub struct ShrinkPolicy {}
   ```
   
   Options I could see us adding in the future:
   * What to do with shared `ArrayRef`
   * What to do with shared `Buffer`


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