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

Walk prebuilt mask through memory for small steps #984

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

davepl
Copy link
Contributor

@davepl davepl commented Nov 6, 2024

This change causes the sieve to pre-build a 32-bit mask and walks it through memory rather than hitting that same 32-bit word several times when setting the small steps. Testing showed 12 was the cutoff on my machine.

  • I read the contribution guidelines in CONTRIBUTING.md.
  • I placed my solution in the correct solution folder.
  • I added a README.md with the right badge(s).
  • I added a Dockerfile that builds and runs my solution.
  • I selected drag-race as the target branch.
  • All code herein is licensed compatible with BSD-3.

@davepl davepl self-assigned this Nov 6, 2024
@davepl davepl requested a review from rbergen November 6, 2024 00:42
@davepl davepl merged commit 606baba into drag-race Nov 6, 2024
162 of 165 checks passed
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