7 ms·
Here's a gist I created a couple months ago that kind of explains the performance characteristics of goroutine per loop vs. partitioning with goroutines https:
by nathanwdavis 13y ago
Here's a gist I created a couple months ago that kind of explains the performance characteristics of goroutine per loop vs. partitioning with goroutines
https://gist.github.com/nathanwdavis/6290428 https://gist.github.com/nathanwdavis/6290428
Basically, for big lists a goroutine per loop is very slow in comparison.