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/02 20:30:43 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-737477886


   > ArrayData is 'array-type'-independent. If we make buffers generic over T, we need to find a way to write ArrayData
   
   Would it perhaps be possible to have a hybrid solution? The buffer remains typeless `Vec<u8>`, but the public API exposes generic typed methods like `Buffer::push::<T>()`. Then some code regarding type conversion to bytes, alignment etc. could be abstracted.


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