aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2014-10-14 20:03:35 -0700
committerRob Pike <r@golang.org>2014-10-14 20:03:35 -0700
commitae250ab227311aab7fd8dff22ae05592abd13bde (patch)
tree33261b064848a851ade484e76bf61eb42d358f06 /src/os/exec
parentfe8f799ef7b0124ff0a50f5ec590a70ad20d6ef2 (diff)
downloadgo-ae250ab227311aab7fd8dff22ae05592abd13bde.tar.xz
encoding/gob: make encoding structs a little faster
FieldByIndex never returns an invalid Value, so the validity test can be avoided if the field is not indirect. BenchmarkGobEncode 12768642 12424022 -2.70% BenchmarkGobEncode 60.11 61.78 1.03x LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/158890045
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions