Here is a slightly different version I wrote that has 0 allocations per loop.
Took about 26 seconds.
I'm welcome to suggestions on how to make it more readable! Its been a few years since I have written Go professionally
Here is a slightly different version I wrote that has 0 allocations per loop.
Took about 26 seconds.
I'm welcome to suggestions on how to make it more readable! Its been a few years since I have written Go professionally