trxcllnt commented on PR #489:
URL: https://github.com/apache/arrow-js/pull/489#issuecomment-5797553177

   > there's no reason to maintain the extra padding bytes
   
   Logically I agree with you, but aligning on cache line and page sizes is 
still beneficial to performance, especially when interfacing with the GPU. GL 
implementations or libraries will allocate buffers in multiples of the page 
size, and unaligned copies are slower.
   
   I don't think it's right to negatively impact users who rely on this 
benefit, especially when the logical information is also immediately available 
on the same data structure. The Vector buffers aren't meant to represent the 
logical state of the Vector, they're a low-level API that are optimized for 
low-level use-cases.


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