You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "rluvaton (via GitHub)" <gi...@apache.org> on 2025/10/20 21:08:13 UTC

[PR] chore: update `OffsetBuffer::from_lengths(std::iter::repeat_n(, ));` with `OffsetBuffer::from_repeated_length(, );` [arrow-rs]

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

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


Re: [PR] chore: update `OffsetBuffer::from_lengths(std::iter::repeat_n(, ));` with `OffsetBuffer::from_repeated_length(, );` [arrow-rs]

Posted by "rluvaton (via GitHub)" <gi...@apache.org>.
rluvaton commented on PR #8669:
URL: https://github.com/apache/arrow-rs/pull/8669#issuecomment-3426866848

   @kylebarron can you please merge?


-- 
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-unsubscribe@arrow.apache.org

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


Re: [PR] chore: update `OffsetBuffer::from_lengths(std::iter::repeat_n(, ));` with `OffsetBuffer::from_repeated_length(, );` [arrow-rs]

Posted by "kylebarron (via GitHub)" <gi...@apache.org>.
kylebarron merged PR #8669:
URL: https://github.com/apache/arrow-rs/pull/8669


-- 
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-unsubscribe@arrow.apache.org

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