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

Multithreaded prime tests. #157

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Multithreaded prime tests. #157

merged 5 commits into from
Apr 27, 2024

Conversation

tfpf
Copy link
Owner

@tfpf tfpf commented Apr 27, 2024

No description provided.

@tfpf tfpf changed the title Removed for iteration over workers. Multithreaded prime tests. Apr 27, 2024
@tfpf tfpf marked this pull request as ready for review April 27, 2024 10:42
tfpf added 2 commits April 27, 2024 16:25
Tests are run on a 4-core machine on GitHub Actions. By making the prime tests spawn three threads, and allowing the sieve of Atkin test to continue with a single thread, I should get optimum usage of its cores.
@tfpf tfpf merged commit c80acaf into main Apr 27, 2024
8 checks passed
@tfpf tfpf deleted the multithreaded-prime-tests branch April 27, 2024 11:10
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