felipecrv commented on PR #41975:
URL: https://github.com/apache/arrow/pull/41975#issuecomment-2177267969

   > @felipecrv I just think about is there some techniques to denote an 
`ArrayData` is "owned and writable", like the output of `PrepareOutput`. This 
can do some techniques, like:
   > 
   > 1. Optimizing data transform in Parquet reader
   > 2. Do some optimization like reuse-input
   
   It's tricky to re-use given that Buffers wrapped in shared_ptrs are supposed 
to be immutable. You never know if someone is also holding a reference to that 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to