Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sambeau
12y ago
0 comments
Save
Share
"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/v6m86sTR...
0 comments
1 comments · 1 top-level
top
newest
oldest
JulianMorrison
12y ago
My design relies on pre-loading the channel's buffer and doesn't use a goroutine.
j
/
k
navigate · click thread line to collapse