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: replace big int pool in hint solver by tmp slice #249

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Feb 2, 2022

--> solveWithHint was doing useless mod reduce on the big int inputs (already mod reduce when computing linear expression with fr.Element)
--> solveWithHint was leaking a big.Int from the pool; anyway, seems for hint heavy workflows, better to just allocate a big.Int slice 👍

@gbotrel gbotrel added the perf label Feb 2, 2022
@gbotrel gbotrel added this to the v0.7.0 milestone Feb 2, 2022
@gbotrel gbotrel requested a review from ivokub February 2, 2022 22:47
Base automatically changed from perf-ccs-solver to develop February 3, 2022 17:10
@gbotrel gbotrel requested review from ThomasPiellard and removed request for ivokub February 3, 2022 17:10
@gbotrel gbotrel merged commit 89505d2 into develop Feb 3, 2022
@gbotrel gbotrel deleted the perf-ccs-hint branch February 3, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant