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

bignum uses generic arithmetic instead of clunky ArrayX struct #17

Merged
merged 9 commits into from
Sep 25, 2024

Conversation

zac-williamson
Copy link
Collaborator

@zac-williamson zac-williamson commented Sep 12, 2024

should speed up witgen

Description

previously to get around the fact that arithmetic on generics was not possible, we used an ArrayX struct to represent multiples of a base array size. This was slowing down witness generation quite a bit (I think). Now that arithmetic on generics is implemented, this PR updates bignum to use this feature to remove ArrayX.

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

BEGIN_COMMIT_OVERRIDE
feat: bignum uses generic arithmetic instead of clunky ArrayX struct (#17)
END_COMMIT_OVERRIDE

@TomAFrench TomAFrench merged commit 08f5710 into main Sep 25, 2024
3 checks passed
@TomAFrench TomAFrench deleted the zw/use-arithmetic-generics branch September 25, 2024 12:47
@github-actions github-actions bot mentioned this pull request Oct 2, 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.

3 participants