You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you interested in making a faster C# entry? I took a quick look and as best I can tell it seemed like the entries that do the best are probably the ones that get closest to clearing one prime multiple every assembly instruction. The top entries looked like they used source generation techniques to write unrolled loops to do long sequences of or operations against constant masks that could be embedded as immediate operands. I don't see any reason you couldn't do the same thing with a source generator for C#.
https://www.youtube.com/watch?v=pSvSXBorw4A
Rules: https://github.com/PlummersSoftwareLLC/Primes/blob/drag-race/CONTRIBUTING.md#rules
C# is slower than Java here.
Here is the currently fastest C# solution: https://github.com/PlummersSoftwareLLC/Primes/tree/drag-race/PrimeCSharp/solution_4
The text was updated successfully, but these errors were encountered: