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

   > @felipecrv Just so that you understand better what I have in mind.
   
   Right. But now I'm curious for the motivating use-cases.
   
   One abstract case I have in mind i dynamically-growing containers: let's say 
I'm appending a value to a container and size==capacity already, 
`Reallocate(capacity+1)` is wasteful (better to grow capacity geometrically), 
but if I can resize to `capacity+1` in-place, that's preferrable.


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