]> Cypherpunks repositories - gostls13.git/commit
gob: compute information about a user's type once.
authorRob Pike <r@golang.org>
Tue, 22 Feb 2011 20:31:57 +0000 (12:31 -0800)
committerRob Pike <r@golang.org>
Tue, 22 Feb 2011 20:31:57 +0000 (12:31 -0800)
commit14b6a477480cc287fbd800215ef4a06b0f8cfc25
treee10fac85e3613e6880799213556aa52ac9533851
parent556506e8692af033fba6411ba926733daf1fcd0a
gob: compute information about a user's type once.
Other than maybe cleaning the code up a bit, this has
little practical effect for now, but lays the foundation
for remembering the method set of a type, which can
be expensive.

R=rsc
CC=golang-dev
https://golang.org/cl/4193041
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