Improvement to Go as new solution? #388
mpldr
started this conversation in
Improvement suggestions
Replies: 1 comment
-
If an alternative implementation changes one or more of the key characteristics (algorithm, faithfulness, bits per prime candidate) then a new solution could be warranted. That being said, we now do have a multithreaded Go solution in place (PrimeGo/solution_3), so then the question becomes if your implementation improves that solution's performance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made the following changes to Go solution 2 which yielded drastically improved performance. However, since this solution parallelizes the computation I am not sure whether this is fitting as just an improvement to solution 2 which explicitly states that it is not parallelized.
I'd also like to ask all Go developers whether I maybe made a mistake and just overlooked it, because the results on my Ryzen 7 2700X are as follows:
This improvement is enough to make it suspicious in my eyes, but I can not find an error like just increasing
passes
without completing the sieve beforehand.Beta Was this translation helpful? Give feedback.
All reactions