friendlymatthew opened a new issue, #7901:
URL: https://github.com/apache/arrow-rs/issues/7901

   Related to https://github.com/apache/arrow-rs/pull/7878
   
   `map_bytes_to_offsets` is a utility that transforms a byte buffer into an 
iterator of offsets, based on a given size. 
   
   [It is used in several places throughout the validation 
code.](https://github.com/search?q=repo%3Aapache%2Farrow-rs%20map_bytes_to_offsets&type=code)
   
   In all cases, we can avoid materializing the iterator with `.collect()` by 
instead looping over it directly and moving the relevant checks into that loop
   


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to