Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: