-
Notifications
You must be signed in to change notification settings - Fork 231
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: compute twiddle cache just once per degree #534
perf: compute twiddle cache just once per degree #534
Conversation
4259e0e
to
23ca7da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR optimizes
Radix2EvaluationDomain
by introducingTwiddleCache<F>
.This has 2 benefits:
GetCoset()
, the vectors are no longer copied.TwoAdicMultiplicativeCoset
even when the domain size remains the same. Additionally, the post-creation copying of vectors has been removedI pushed a commit with the same branch name of #530 by chance, I couldn't reopen it..