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

Marking Zig/solution_2 as unfaithful due to compile-time size fix #483

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

rbergen
Copy link
Contributor

@rbergen rbergen commented Jul 24, 2021

As pointed out by a comment in discussion #445, the use of a combination of const and comptime in Zig/solution_2 boils down to the sieve (memory) size being set at compile time.
This goes against the rule that The sieve size and corresponding prime candidate memory buffer (or language equivalent) are set/allocated dynamically at runtime.

As @ManDeJan has indicated that they can change Zig/solution_2 to make it faithful, I'll hold on merging this PR for a few days to allow them to do so.

@rbergen
Copy link
Contributor Author

rbergen commented Jul 26, 2021

Merging this to prevent (further) confusion about benchmark results. Also, the change can be easily reverted once the underlying reason has been addressed.

@rbergen rbergen merged commit 37aff1f into PlummersSoftwareLLC:drag-race Jul 26, 2021
@rbergen rbergen deleted the zig2-unfaithful branch August 17, 2021 16:01
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