]> Cypherpunks repositories - gostls13.git/commit
gob: add support for maps.
authorRob Pike <r@golang.org>
Wed, 5 May 2010 23:46:39 +0000 (16:46 -0700)
committerRob Pike <r@golang.org>
Wed, 5 May 2010 23:46:39 +0000 (16:46 -0700)
commit7861da737ece3b57f20dbbb7eb9c7a487d1f8bde
treebaeac018db83bc9f2c6441cf6aa3d3ee710af7fd
parent46152bb9fe5f3edc9bc8b599b49974c34f251e13
gob: add support for maps.
Because maps are mostly a hidden type, they must be
implemented using reflection values and will not be as
efficient as arrays and slices.

R=rsc
CC=golang-dev
https://golang.org/cl/1127041
src/pkg/gob/codec_test.go
src/pkg/gob/decode.go
src/pkg/gob/encode.go
src/pkg/gob/encoder.go
src/pkg/gob/type.go
src/pkg/gob/type_test.go