5 ms·
"The problem with using a goroutine as a generator is that if you abandon it, it will not get garbage collected." It's also slow. https://groups.google.com/fo
by sambeau 13y ago
"The problem with using a goroutine as a generator is that if you abandon it, it will not get garbage collected."
It's also slow.
https://groups.google.com/forum/#!topic/golang-nuts/v6m86sTRbqA https://groups.google.com/forum/#!topic/golang-nuts/v6m86sTR...
- JulianMorrison 13y agoMy design relies on pre-loading the channel's buffer and doesn't use a goroutine.