-
Notifications
You must be signed in to change notification settings - Fork 234
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
triage(AztecNr): Investigate gate usage for the library #7071
Comments
Note: The optimization proposed below was tackled in this PR. 2) There is one obvious optimization to be done which was spotted a long time ago and is tracked in this issue - we compute note hash twice: once in The solutions proposed in #1718 seems too complex to me (maybe because they were assessed a long time ago). A more obvious way to do it would be to expose both values from So the ugliness might be fine.
Update: Lasse and Nico pointed out in scrum that the gate count of the function is so large because in the transfer function it's summed over 32 notes (which are iterated over). So the gain will be much smaller in cases working with individual notes. |
Outdated so closing |
Investigate the "gate usage" of the aztec nr library. Create issues under optimisations in #7071 for heavy library functions such that it can be properly investigated how to optimise it.
Example output from the task:
BalancesMap.sub
is expensive, since it is nullifying a lot of many notesThe text was updated successfully, but these errors were encountered: