]> Cypherpunks repositories - gostls13.git/commit
net/textproto: add benchmark, cleanup, update comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 4 Jun 2012 14:18:06 +0000 (07:18 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 4 Jun 2012 14:18:06 +0000 (07:18 -0700)
commit6e3d87f315f80ff6b5c0275c98a04f635679ef6b
treea4cbb9a9d615877094f771c85aa7eebf1ef53254
parent6b31508e3d59d0ea470006c5905236fec4fc8baf
net/textproto: add benchmark, cleanup, update comment

The cleanup also makes it ~5% faster, but that's
not the point of this CL.

Optimizations can come in future CLs.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6286043
src/pkg/net/textproto/reader.go
src/pkg/net/textproto/reader_test.go