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
With a sync.Pool in the Context, generators can use them to get new Maps and Slices, and then users can put them back in the pool via the context for reuse:
obj := factory(context)
// do stuff with obj
context.PutMap(obj)
The text was updated successfully, but these errors were encountered:
With a sync.Pool in the Context, generators can use them to get new Maps and Slices, and then users can put them back in the pool via the context for reuse:
The text was updated successfully, but these errors were encountered: