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

Build fix for lagrange basis performance #1874

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Conversation

45930
Copy link
Contributor

@45930 45930 commented Oct 18, 2024

Fixes: #1869

This PR mainly bundles Gregor's changes from MinaProtocol/mina#16261

I also added a unit test to confirm that the filesystem cache is being accessed by typescript, which is a proxy for the bug being fixed. The performance bug was originally introduced in #1857 which was also a bugfix. This branch includes unit tests for each bug, and both are passing.

return new Field(0);
},
},
run: {
Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason for two methods here? Are they required for the test? Just curious

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The LB is only calculated for a "recursive" proof. The pattern I know is a base case and a recursive case. Can we pass a proof as input and only use 1 method?

Copy link
Member

Choose a reason for hiding this comment

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

We should be able to. But that's fine, I was just wondering

return new Field(0);
},
},
run: {
Copy link
Member

Choose a reason for hiding this comment

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

We should be able to. But that's fine, I was just wondering

@45930 45930 merged commit 44eb218 into main Oct 21, 2024
26 checks passed
@45930 45930 deleted the 2024-10-bugfix-lb-performance branch October 21, 2024 14:44
@45930 45930 mentioned this pull request Oct 21, 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.

Performance regression in v1.9.0
2 participants