| commit | ecb7ecda9c8b87bff0fcd8a13656fbff1fb352a6 | [log] [tgz] |
|---|---|---|
| author | Mikio Hara <mikioh.mikioh@gmail.com> | Mon Jun 17 00:40:07 2013 +0900 |
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | Mon Jun 17 00:40:07 2013 +0900 |
| tree | 4202eb1326d09598c116e8ad69fd7cacd3fc1e7c | |
| parent | 9d071032c5d8f0571cceee5f480fead205a77c6e [diff] |
go.net/ipv4: simplify ancillary helpers This CL reduces unnecessary allocations in ancillary helper functions. Also clarifies documentation on ControlMessage, ControlFlags. benchmark old allocs new allocs delta BenchmarkReadWriteNetUDP-2 6 6 0.00% BenchmarkReadWriteIPv4UDP-2 17 15 -11.76% R=dave CC=golang-dev https://golang.org/cl/9232050