Rich-T-kid commented on PR #10206:
URL: https://github.com/apache/arrow-rs/pull/10206#issuecomment-4792382769

   With 
[f2fcc0c](https://github.com/apache/arrow-rs/pull/10206/commits/f2fcc0cb8df1a9361d608dbbd6578c5ea6706aaf),
 buffers are only copied when they're actually misaligned. Out of ~18 million 
total calls during benchmarking, only ~46k required reallocation, meaning 
99.75% of the time we skip the copy entirely, while still correctly handling 
the cases where alignment is off.
   This also feeds directly into the [N-buffer copy 
issue](https://github.com/apache/arrow-rs/pull/10206#issuecomment-4785443780)


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