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

Potential Optimisation: Most of round 1007 can be cached when X doesn't change. #11

Open
phire opened this issue Nov 15, 2023 · 0 comments

Comments

@phire
Copy link

phire commented Nov 15, 2023

From what I can tell, most of round 1007 is static when Y doesn't change. As data_next, X only impacts 5 words of the state.

So we could implement a truncated round 1007 that only calculates state[10:11] and state[13-15]. Round 1008 is already terminates early and only calculates state[0:9]. Interestingly, state[12] is actually fixed.

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

No branches or pull requests

1 participant