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/11/29 11:37:07 UTC

[GitHub] [arrow] Dandandan commented on pull request #8796: [Rust] [Experiment] Vec vs current allocations

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


   I did some profiling with Valgrind yesterday. I don't have a very good knowledge currently of the workings `memory` but there I saw as well that some of the lines in the code related to `MutableBuffer::extend_from_slice` in terms of instruction cycles as they are called a lot in the code / kernels. I think a few "micro optimizations" are possible there. 
   
   It makes sense to me that switching to `Vec<u8>` benefits from it being optimized/benchmarked already extremely well.


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