rpc: keep free lists of Request and Response structures.
Also in the common case avoid unnecessary buffering in the channel. Removes 13 allocations per round trip. Now at 86, down from 144 a week ago. R=rsc, bradfitzgo, r2, rsc1 CC=golang-dev https://golang.org/cl/4277060
Showing
Please register or sign in to comment