Comment by foldr
14 hours ago
I believe it’s more about robustness than performance in typical cases. Without pre-emption, there’s always a risk of one goroutine using disproportionate CPU time if it gets into an infinite (or just very long) loop without doing any IO.
No comments yet
Contribute on Hacker News ↗