Skip to content

Conversation

albertlockett
Copy link
Contributor

@albertlockett albertlockett commented Sep 29, 2025

Which issue does this PR close?

Rationale for this change

Adds a helpful method for the same value multiple times, which also avoids multiple key lookups which could be a slight performance win.

What changes are included in this PR?

Adds the helpful append_n method to FixedSizeBinaryDictionaryBuilder.

Are these changes tested?

Yes, I added unit tests covering the changes

Are there any user-facing changes?

Yes, the new method is public

@albertlockett albertlockett changed the title Add append_n method to FixedSizeBinaryDictionaryBuilder Add append_n method to `FixedSizeBinaryDictionaryBuilder Sep 29, 2025
@albertlockett albertlockett changed the title Add append_n method to `FixedSizeBinaryDictionaryBuilder Add append_n method to FixedSizeBinaryDictionaryBuilder Sep 29, 2025
@github-actions github-actions bot added the arrow Changes to the arrow crate label Sep 29, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @albertlockett and @mbrobbel

@alamb alamb merged commit 19379e1 into apache:main Sep 30, 2025
26 checks passed
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.

Add append_n method to FixedSizeBinaryDictionaryBuilder
3 participants