Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-12504: Buffer::from_slice_ref set correct capacity #18

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

tustvold
Copy link
Contributor

A minor change, that quite possibly makes no performance difference in practice, as the subsequent call to extend_from_slice calls reserve with the correct data size, but thought it couldn't hurt to fix

@github-actions github-actions bot added the arrow Changes to the arrow crate label Apr 22, 2021
@alamb
Copy link
Contributor

alamb commented Apr 22, 2021

@jorgecarleitao can you take a look at this PR?

@jorgecarleitao jorgecarleitao merged commit c3fe3ba into apache:master Apr 22, 2021
@jorgecarleitao
Copy link
Member

Yeap, makes a lot of sense; great catch 👍

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.

3 participants