tyrelr opened a new pull request #8973:
URL: https://github.com/apache/arrow/pull/8973


   Iterating slices instead of indexes seems to improve performance of non-simd 
arithmetic operations.  
   
   This adds a new method raw_values_slice to PrimitiveArray (so named to pun 
off of the raw_values function which returns a pointer).  A few of the 
functions in PrimitiveArray rely on the caller for safety guarantees 
(bounds-checks for value_slice, value), so should probably be unsafe?  But they 
are used widely, so I thought it simpler to start by adding a safer 
alternative...


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