You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conc would spawns a new goroutine when pool.Go call each time.
It would cause waste of resources in some case.
Is it had a plan to use a custom goroutine pool instead of spawn every time ?
for example:
type gPool interface {
Do(func (){})
}
pool.NewWithCustomPool(gPool)
The text was updated successfully, but these errors were encountered:
conc
would spawns a new goroutine whenpool.Go
call each time.It would cause waste of resources in some case.
Is it had a plan to use a custom goroutine pool instead of spawn every time ?
for example:
The text was updated successfully, but these errors were encountered: