Skip to content

[arrow-flight encode path]re-use flatbufferbuilder#10220

Open
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/re-use-allocations
Open

[arrow-flight encode path]re-use flatbufferbuilder#10220
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/re-use-allocations

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

flat buffer builder was being allocated repeatedly when it could be created once and reset using fbb.reset

What changes are included in this PR?

provides methods for setting and getting fbb. This avoids needing to re-allocate it on every call

Are these changes tested?

Are there any user-facing changes?

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

cc @alamb

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jun 26, 2026
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.

1 participant