4 ms·
https://go.dev/play/p/6Lg9L2up5mI https://go.dev/play/p/6Lg9L2up5mI Here is a slightly different version I wrote that has 0 allocations per loop. Took about 2
by jeremyloy_wt 3y ago
https://go.dev/play/p/6Lg9L2up5mI https://go.dev/play/p/6Lg9L2up5mI
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