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:31:25 UTC

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

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


   Does these benchmarks also include writing to the buffers, or only allocating/deallocating? 
   
   I ask because I already used some sort of wrapper around a `Vec`. This is just a wrapper around a rust `Vec` that has overwritten `reserve` to use Arrows memory aligned allocation.
   
   However, for writing and indexing it uses the methods default to `Vec`. I found this to be a lot faster for creating Arrow arrays. I use it when I know I don't have null values.


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