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

faster +(::BigInt...) for more than 5 arguments #41012

Merged
merged 2 commits into from
May 31, 2021
Merged

Conversation

rfourquet
Copy link
Member

Special versions already existed upto 5 arguments. For more than 5, let's
use sum, which is optimized for an arbitrary number of arguments, and which
we also extend to tuples here for the occasion.

Special versions already existed upto 5 arguments. For more than 5, let's
use sum, which is optimized for an arbitrary number of arguments, and which
we also extend to tuples here for the occasion.
@rfourquet rfourquet added performance Must go faster domain:bignums BigInt and BigFloat labels May 30, 2021
@rfourquet rfourquet changed the title faster +(::BigInt...) for more than 5 arguments faster +(::BigInt...) for more than 5 arguments May 30, 2021
base/gmp.jl Outdated Show resolved Hide resolved
@vtjnash vtjnash merged commit 0b16e8f into master May 31, 2021
@vtjnash vtjnash deleted the rf/bigint-sum-tuple branch May 31, 2021 21:32
shirodkara pushed a commit to shirodkara/julia that referenced this pull request Jun 9, 2021
Special versions already existed upto 5 arguments. For more than 5, let's
use sum, which is optimized for an arbitrary number of arguments, and which
we also extend to tuples here for the occasion.
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Special versions already existed upto 5 arguments. For more than 5, let's
use sum, which is optimized for an arbitrary number of arguments, and which
we also extend to tuples here for the occasion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:bignums BigInt and BigFloat performance Must go faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants