-
Notifications
You must be signed in to change notification settings - Fork 224
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
perf: avoid copying on group operations #383
Conversation
5174f25
to
6b8f82d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7ccddfe
to
23cc757
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tachyon/math/finite_fields/generator/prime_field_generator/prime_field_x86.h.tpl
Outdated
Show resolved
Hide resolved
tachyon/math/polynomials/univariate/univariate_evaluations_ops.h
Outdated
Show resolved
Hide resolved
tachyon/math/polynomials/univariate/univariate_sparse_coefficients.h
Outdated
Show resolved
Hide resolved
tachyon/math/polynomials/univariate/univariate_sparse_coefficients.h
Outdated
Show resolved
Hide resolved
tachyon/math/polynomials/multivariate/multilinear_extension_ops.h
Outdated
Show resolved
Hide resolved
tachyon/math/polynomials/univariate/univariate_evaluations_ops.h
Outdated
Show resolved
Hide resolved
f0e3772
to
9ad6752
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tachyon/math/finite_fields/generator/prime_field_generator/prime_field_x86.h.tpl
Outdated
Show resolved
Hide resolved
9ad6752
to
9c38390
Compare
please fix 69d8eb8 |
`operator/=()` and `operator-=()` won't be used if proper methods are not implemented in the derived classes. That's why this statement is redundant.
9c38390
to
cd6748d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR avoids copying on semigroup operations, which are
Sub()
,Div()
,Negative()
andInverse()
.