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

[C++] BasicDecimal128 is a small object it doesn't always make sense to pass by const ref #22199

Closed
1 task done
asfimport opened this issue Jun 28, 2019 · 2 comments
Closed
1 task done

Comments

@asfimport
Copy link

asfimport commented Jun 28, 2019

For the builder use case we saw 10% improvement in performance by not using const ref.
Add benchmarks and look at where it makes sense to avoid passing by ref.

Reporter: Micah Kornfield / @emkornfield
Assignee: Micah Kornfield / @emkornfield

Subtasks:

PRs and other links:

Note: This issue was originally created as ARROW-5777. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Micah Kornfield / @emkornfield:
currently benchmarking shows now appreciable difference to slight performance loss for making this change. According the literature it should improve things but we don't observe it so we will just check in the benchmarks for now and this can be revisited later.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 4739
#4739

@asfimport asfimport added this to the 0.15.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants