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 2021/01/05 19:18:38 UTC

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

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


   I am closing this in favor of #9076 where the performance is fixed.
   
   The gist is that there were two reasons for the performance issues:
   
   1. we were using `std::alloc::alloc_zero`  instead of `std::alloc::alloc`
   2. we were converting everything to a byte slice instead of writing directly to the buffer
   
   That PR addresses them both and brings the `MutableBuffer` to be faster than `Vec`


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