applejag / typ

Generic types and functions that are missing from Go, including sets, linked lists, trees, etc.
https://pkg.go.dev/gopkg.in/typ.v4
MIT License
32 stars 2 forks source link

type: Pool #12

Closed applejag closed 2 years ago

applejag commented 2 years ago

Take inspiration from sync: https://pkg.go.dev/sync#Pool

The pool package is so tightly nit with the Go GC that it's probably best to just add a wrapper