cetra3 commented on PR #9508:
URL: https://github.com/apache/arrow-rs/pull/9508#issuecomment-4017330610

   The standard reservation strategy for `Vec` is powers of two, which plays 
nicer with allocators when you are allocating a lot of memory.  If you start 
allocating exact sizes, then it is has to "slot" in an allocation with the rest 
of the system, and so you end up allocating more than that anyway.


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