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

perf: avoid copying on semigroup operations #379

Merged
merged 10 commits into from
Apr 12, 2024

Conversation

chokobole
Copy link
Contributor

@chokobole chokobole commented Apr 6, 2024

Description

This PR avoids copying on semigroup operations, which are Add(), Mul(), Double() and Square().

@chokobole chokobole force-pushed the perf/avoid-copying-on-semigroup-operations branch 12 times, most recently from 92e19cc to 250cb3e Compare April 6, 2024 14:38
Copy link
Contributor

@dongchangYoo dongchangYoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ashjeong ashjeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change 4 commits:
Avoid copying twice on
->
Avoid copying twice in

Can the commit 4db1ac3 be moved to before “avoid copying twice on addition” for continuity?

a3b6bb3
refac(math): refactor fast retrun case of polynomial operations
->
refac(math): refactor fast return case of polynomial operations

@chokobole chokobole force-pushed the perf/avoid-copying-on-semigroup-operations branch from 250cb3e to 37933a1 Compare April 9, 2024 14:51
@chokobole chokobole force-pushed the perf/avoid-copying-on-semigroup-operations branch 2 times, most recently from b73c402 to 58633c0 Compare April 11, 2024 04:30
Copy link
Contributor

@ashjeong ashjeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Insun35 Insun35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chokobole chokobole force-pushed the perf/avoid-copying-on-semigroup-operations branch from 58633c0 to eea10b9 Compare April 11, 2024 20:49
@chokobole chokobole force-pushed the perf/avoid-copying-on-semigroup-operations branch from eea10b9 to 38ba29f Compare April 11, 2024 21:25
Copy link
Contributor

@TomTaehoonKim TomTaehoonKim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongchangYoo dongchangYoo merged commit 02aef89 into main Apr 12, 2024
3 checks passed
@dongchangYoo dongchangYoo deleted the perf/avoid-copying-on-semigroup-operations branch April 12, 2024 01:46
chokobole added a commit that referenced this pull request Apr 12, 2024
chokobole added a commit that referenced this pull request Apr 13, 2024
chokobole added a commit that referenced this pull request Apr 16, 2024
chokobole added a commit that referenced this pull request Apr 16, 2024
chokobole added a commit that referenced this pull request Apr 16, 2024
chokobole added a commit that referenced this pull request Apr 16, 2024
chokobole added a commit that referenced this pull request Apr 16, 2024
chokobole added a commit that referenced this pull request Apr 17, 2024
chokobole added a commit that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants