Skip to content

Conversation

@rluvaton
Copy link
Member

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

OffsetBuffer::from_lengths(std::iter::repeat_n(<val>, <repeat>));

with

OffsetBuffer::from_repeated_length(<val>, <repeat>);

Are these changes tested?

Existing tests

Are there any user-facing changes?

Nope


Related to:

…<repeat>));` with `OffsetBuffer::from_repeated_length(<val>, <repeat>);`
@github-actions github-actions bot added the arrow Changes to the arrow crate label Oct 20, 2025
@rluvaton
Copy link
Member Author

@kylebarron can you please merge?

@kylebarron kylebarron merged commit f0f6128 into apache:main Oct 21, 2025
26 checks passed
@rluvaton rluvaton deleted the move-more-stuff-to-use-offset-extends-same-length branch October 21, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants