]> Cypherpunks repositories - gostls13.git/commit
simplify decoders. error checking is done higher up.
authorRob Pike <r@golang.org>
Thu, 2 Jul 2009 16:22:30 +0000 (09:22 -0700)
committerRob Pike <r@golang.org>
Thu, 2 Jul 2009 16:22:30 +0000 (09:22 -0700)
commit671f807e2efe49d6b26d1d5dd617bf5402d6bfe4
treea6ccca3df9f298a135a4a8ac93bb35ac7d415fa3
parentc0271c4bc2127ca13ceb30ef7331290df9ffdec8
simplify decoders.  error checking is done higher up.
if there is an error, we will write one more value into the struct but in return
we do fewer tests in the decode.

R=rsc
DELTA=56  (0 added, 42 deleted, 14 changed)
OCL=31041
CL=31044
src/pkg/gob/decode.go