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:
[email protected]


Reply via email to