Hacker News new | past | comments | ask | show | jobs | submit login

As far as I can tell it's just as broken if you change the Add to a Store (at least, doing that and breaking in the main routine when it's > 1 still times out on play.golang.org). That just turned into a (terrible) spinlock and has no overflow issues.

On mobile, so I can't test with a real toolchain. https://play.golang.org/p/DlWBh1Via4




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: