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

Make group order purely compile-time in exhaustive tests #807

Closed
wants to merge 1 commit into from

Conversation

sipa
Copy link
Contributor

@sipa sipa commented Sep 4, 2020

The current exhaustive tests rely on an order that's known at compile time (EXHAUSTIVE_TEST_ORDER), but it is still passed down as a runtime variable order as well.

Make this consistent by replacing all order into EXHAUSTIVE_TEST_ORDER. This should help the compiler avoid actual modulus operations, though I don't see any speedup.

@sipa
Copy link
Contributor Author

sipa commented Sep 4, 2020

Ping @apoelstra.

@sipa
Copy link
Contributor Author

sipa commented Sep 6, 2020

Superseded by #808.

@sipa sipa closed this Sep 6, 2020
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

Successfully merging this pull request may close these issues.

1 participant