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

Machine prime integration #86

Merged
merged 10 commits into from
Nov 29, 2024
Merged

Machine prime integration #86

merged 10 commits into from
Nov 29, 2024

Conversation

JSorngard
Copy link
Owner

This PR merges #84 after running cargo fmt, renaming the feature and documenting it, and bumping crate version.

JASory and others added 9 commits November 28, 2024 16:54
Added the low-memory variant of Machine-prime (using a modified BPSW test) as an optional dependency. The Criterion benchmark shows that it is approximately 16x faster than the existing version. 

Simplified the next and previous_prime functions
Added Machine-Prime, simplified nearest_prime
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.26%. Comparing base (b27f313) to head (d053d3d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
- Coverage   89.29%   89.26%   -0.04%     
==========================================
  Files          11       11              
  Lines        1009     1006       -3     
==========================================
- Hits          901      898       -3     
  Misses        108      108              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JSorngard
Copy link
Owner Author

JSorngard commented Nov 29, 2024

This was made a separate PR because I could not figure out how to edit a PR started by someone else. A job for future me.

@JSorngard JSorngard merged commit 411ef5c into main Nov 29, 2024
8 checks passed
@JSorngard JSorngard deleted the machine_prime_integration branch November 29, 2024 12:56
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.

2 participants