On Mon, Mar 19, 2018 at 10:51 PM, 芮峰云 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
--
Yo
Necessary to use sync.pool for gc in golang 1.9 ?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, vi