On Jul 20, 2011, at 5:05 PM, David Symonds wrote: > Do you also need ...
12 years, 9 months ago
(2011-07-20 07:24:54 UTC)
#3
On Jul 20, 2011, at 5:05 PM, David Symonds wrote:
> Do you also need to do the same thing for slices?
No, because they don't have the problem.
You can't write to either a nil map or a nil slice, but you can append to a nil
slice and that's what usually happens.
-rob
LGTM modulo doc fix http://codereview.appspot.com/4798042/diff/1/src/pkg/gob/doc.go File src/pkg/gob/doc.go (right): http://codereview.appspot.com/4798042/diff/1/src/pkg/gob/doc.go#newcode116 src/pkg/gob/doc.go:116: Maps are sent as an ...
12 years, 9 months ago
(2011-07-20 07:32:01 UTC)
#4
Issue 4798042: code review 4798042: gob: send empty but non-nil maps.
(Closed)
Created 12 years, 9 months ago by r
Modified 12 years, 9 months ago
Reviewers:
Base URL:
Comments: 1