Conversation
This reverts commit 5ed9c48.
Collaborator
Author
|
ThomasPiellard
approved these changes
Jan 17, 2025
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Clean up
sispackage, +simplify usage. Improves perf, sister PR inlinea-monorepo.What this PR does
Write([]byte) / Sum() []bytetoHash(v, res []fr.Element)LimbIteratorandVectorIterator. That also enables to define the core logic in this package only for matrix hashes as defined inlinea-monorepo(which can now instantiate a specializedMatrixIterator)Summary by copilot
This pull request includes various changes to the
ecc/bls12-377/fr/fft/fft.gofile to optimize and improve the FFT implementation, as well as updates to theecc/bls12-377/fr/sis/sis_test.gofile to enhance the test coverage and performance. The most important changes include the optimization of FFT operations, the addition of new kernel functions, and improvements to the test cases.FFT Optimizations and Improvements:
fftOptionsfunction to improve performance for small FFTs. (ecc/bls12-377/fr/fft/fft.go) [1] [2]ecc/bls12-377/fr/fft/fft.go) [1] [2] [3]New Kernel Functions:
kerDIFNP_64andkerDITNP_64to handle specific FFT sizes more efficiently. (ecc/bls12-377/fr/fft/fft.go)Test Case Enhancements:
ecc/bls12-377/fr/sis/sis_test.go) [1] [2]ecc/bls12-377/fr/sis/sis_test.go) [1] [2]Other Changes:
ecc/bls12-377/fr/sis/sis_test.go) [1] [2] [3]These changes collectively improve the performance, readability, and maintainability of the FFT implementation and its associated tests.
Benchmarks (on c7a / hp7a)
Note that when degree == 64, we have a special unrolled FFT, like before.