For implementing leaky buffer, you can do it :
- with channel (as descibe into
https://golang.org/doc/effective_go.html#leaky_buffer)
- or with sync.Pool.
Do you know if there is some difference on performance perspective (or on
others aspects) on this both choices?
Thx in adv.
Regard
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.