On Mon, Mar 19, 2018 at 10:51 PM, 芮峰云 <
rfyiam...@gmail.com> wrote:
> Necessary to use sync.pool for gc in golang 1.9 ?
No.
It's never necessary to use sync.Pool. sync.Pool is a special purpose
mechanism for more efficient handling of certain memory allocation
patterns. It is not a general purpose tool.
Ian