Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Effective Go. Parent comment
1) Let's say you want to do everything you can to avoid generating garbage. What would some those techniques be?
2) There is no delete function is there (for memory deallocation, not hashmap key removal)?
3) Is it possible to eliminate all garbage, and if so could you prevent the GC from starting up at all?
Possible existing answers that are a bit above my understanding (C# and Python spoil me):
http://news.ycombinator.com/item?id=4231048
http://blog.golang.org/2011/06/profiling-go-programs.html
https://groups.google.com/forum/?hl=fr&fromgroups#!topic...
There are no comments on this comment yet.
1) Let's say you want to do everything you can to avoid generating garbage. What would some those techniques be?
2) There is no delete function is there (for memory deallocation, not hashmap key removal)?
3) Is it possible to eliminate all garbage, and if so could you prevent the GC from starting up at all?
Possible existing answers that are a bit above my understanding (C# and Python spoil me):
http://news.ycombinator.com/item?id=4231048
http://blog.golang.org/2011/06/profiling-go-programs.html
https://groups.google.com/forum/?hl=fr&fromgroups#!topic...