rluvaton opened a new pull request, #8669:
URL: https://github.com/apache/arrow-rs/pull/8669

   # Which issue does this PR close?
   
   N/A
   
   # Rationale for this change
   
   Use the dedicated faster function for creating offset with the same length
   
   # What changes are included in this PR?
   
   replace
   ```rust
   OffsetBuffer::from_lengths(std::iter::repeat_n(<val>, <repeat>));
   ```
   
   with
   ```rust
   OffsetBuffer::from_repeated_length(<val>, <repeat>);
   ```
   
   # Are these changes tested?
   
   Existing tests
   
   # Are there any user-facing changes?
   
   Nope
   
   ----
   
   Related to:
   - #8656 


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