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

Improve stepper logic #152

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Improve stepper logic #152

merged 2 commits into from
Jun 6, 2024

Conversation

labbbirder
Copy link
Contributor

  1. make stepper uint to avoid OutofRangeException
  2. replace the original iteration on potential pairs, which has less chance to visit prime number index , and more chance on zero.

@labbbirder labbbirder changed the title stepper improve stepper logic Jun 6, 2024
@labbbirder labbbirder changed the title improve stepper logic Improve stepper logic Jun 6, 2024
@notgiven688 notgiven688 merged commit 62e3c32 into notgiven688:main Jun 6, 2024
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.

None yet

2 participants