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

Precompute safe primes to use in tests #12

Open
fjarri opened this issue Apr 12, 2023 · 0 comments
Open

Precompute safe primes to use in tests #12

fjarri opened this issue Apr 12, 2023 · 0 comments
Labels
performance Making things faster tests Testing things
Milestone

Comments

@fjarri
Copy link
Member

fjarri commented Apr 12, 2023

Generating safe primes seems to be the slowest part of running the tests. Even with test Uint sizes it's still slow. Can we somehow pre-generate a bunch of primes (at the start of the test, or even just do it once and save in a file) and use them?

@fjarri fjarri added performance Making things faster tests Testing things labels Apr 12, 2023
@fjarri fjarri added this to the v1.0.0 milestone Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Making things faster tests Testing things
Projects
None yet
Development

No branches or pull requests

1 participant