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

Optimization: bignum arithmetic #4398

Open
crusso opened this issue Feb 15, 2024 · 0 comments
Open

Optimization: bignum arithmetic #4398

crusso opened this issue Feb 15, 2024 · 0 comments
Labels
opportunity More optimisation opportunities inside

Comments

@crusso
Copy link
Contributor

crusso commented Feb 15, 2024

I wonder if these functions:
https://github.com/libtom/libtommath/blob/8314bde5e5c8e5d9331460130a9d1066e324f091/tommath.h#L371
could be used to avoid boxing the other argument when one number is big but the other is compact. Would avoid some heap allocation.

@crusso crusso added the opportunity More optimisation opportunities inside label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
opportunity More optimisation opportunities inside
Projects
None yet
Development

No branches or pull requests

1 participant