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

Optimize the performance of leaderFromRandomness() in the deposit contract #2207

Open
DrZoltanFazekas opened this issue Jan 22, 2025 · 1 comment

Comments

@DrZoltanFazekas
Copy link
Contributor

Consider binary search for performance. Or consider an alias method for O(1) performance.

@JamesHinshelwood
Copy link
Contributor

https://en.wikipedia.org/wiki/Alias_method for context.

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

2 participants