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

remove: multiexp_serial for halo2curves version #282

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

CPerezz
Copy link
Member

@CPerezz CPerezz commented Feb 21, 2024

This removes the entire definition of multiexp_serial and replaces it's usage for the halo2curves version (which is similar and has the same functionality apparently).

This was seen while reviewing #277 and will save the deprecation of the method and instead will completely remove it.

cc: @kilic to make sure that the most performant variant (as they're not the same exact code).

Copy link
Member

@ed255 ed255 left a comment

Choose a reason for hiding this comment

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

What about also removing the best_multiexp, and using the one from halo2curves?
Otherwise this looks good to me! It's great to remove lines of code :D

@CPerezz
Copy link
Member Author

CPerezz commented Feb 21, 2024

What about also removing the best_multiexp, and using the one from halo2curves? Otherwise this looks good to me! It's great to remove lines of code :D

Will probably do it in a separated PR such that we have an atomic way to rollback in case it's needed. Sounds good?

@CPerezz CPerezz requested a review from han0110 February 21, 2024 16:24
@ed255
Copy link
Member

ed255 commented Feb 21, 2024

What about also removing the best_multiexp, and using the one from halo2curves? Otherwise this looks good to me! It's great to remove lines of code :D

Will probably do it in a separated PR such that we have an atomic way to rollback in case it's needed. Sounds good?

sounds good!

@mratsim
Copy link

mratsim commented Feb 21, 2024

You can also remove best_fft and pub use the one from halo2curves:

see cc7b71f

This removes the entire definition of `multiexp_serial` and replaces
it's usage for the `halo2curves` version (which is the same exact one).

This was seen while reviewing #277 and will save the deprecation of the
method and instead will completelly remove it.
@CPerezz CPerezz force-pushed the remove/duplicated_multiexp_serial branch from 5d15843 to b1f43fa Compare February 22, 2024 08:57
@CPerezz CPerezz merged commit 6d1dad3 into main Feb 22, 2024
15 checks passed
@CPerezz CPerezz deleted the remove/duplicated_multiexp_serial branch February 22, 2024 14:12
CPerezz added a commit that referenced this pull request Feb 26, 2024
We remove duplicated code from `halo2` which now is externalized (and
more optimal) in `halo2curves`.

This is a followup of #282
CPerezz added a commit that referenced this pull request Feb 27, 2024
* remove: best_{fft/multiexp} and use halo2curves

We remove duplicated code from `halo2` which now is externalized (and
more optimal) in `halo2curves`.

This is a followup of #282

* remove: Unused functions from arithmetic

* remove: FFT & MSM benches

As these are now handled by halo2curves.  There's no need to bench here.
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.

3 participants