You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/28 19:44:13 UTC

[GitHub] [arrow] Dandandan commented on pull request #9032: ARROW-11048: [Rust] Added bench to MutableBuffer

Dandandan commented on pull request #9032:
URL: https://github.com/apache/arrow/pull/9032#issuecomment-751841922


   I am not sure what is causing the difference, I would expect it to be faster just as `from_slice prepared` is faster.
   The main difference is that initializing with capacity `0` uses `memory::allocate_aligned` while the other uses a few calls to `memory::reallocate`. I guess the first is (quite) a bit slower somehow?


----------------------------------------------------------------
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:
users@infra.apache.org