disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.3k stars 443 forks source link

Use unbuffered chan in parallel func for processesing the data #162

Open oshankkumar opened 1 year ago

oshankkumar commented 1 year ago

Channels should usually have a size of one or be unbuffered. It prevents the channel from filling up under load. Refer https://github.com/uber-go/guide/blob/master/style.md#channel-size-is-one-or-none for more details.