tustvold commented on PR #7137:
URL: https://github.com/apache/arrow-rs/pull/7137#issuecomment-2661108200

   > Note that arrow-rs is effectively asking other Arrow implementations to 
provide 16-byte aligned buffers for some types
   
   Most arrow implementations actually provide 64 byte alignment
   
   > Possible but hard in C, almost impossible on language runtimes that give 
less memory allocation controls.
   
   You can always obtain an aligned allocation, by over allocating by the 
alignment, and then slicing. This is in fact what many arrow implementations 
do, Go included
   
   https://github.com/apache/arrow-go/blob/main/arrow/memory/go_allocator.go#L23


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to