3 ms·
- `atomic.Value` is more or less a type-safe pointer with atomic updates. https://codereview.appspot.com/147720043 https://codereview.appspot.com/147720043 uses
by twotwotwo 12y ago
- `atomic.Value` is more or less a type-safe pointer with atomic updates. https://codereview.appspot.com/147720043 https://codereview.appspot.com/147720043 uses it to speed up reads on a concurrently accessed, rarely updated map, for instance.
- look forward to the 1.5 GC changes, can see them being huge for apps that are sensitive to peak latency (where there's a cluster of Go services you hit with fan-out, etc.).
- interested in seeing how folks use `go generate`, both what they do with it and how it is to use.
- bgentry 12y agoThat's a very useful new type that I hadn't seen in the commit logs. Thanks for pointing it out!